vis v3.6.0 Release Notes

Release Date: 2014-10-21 // over 9 years ago
  • Network

    • Title of nodes and edges can now be an HTML element too.
    • 🗄 Renamed storePosition to storePositions. Added deprecation message and old name still works.
    • 🚀 Worked around hammer.js bug with multiple release listeners.
    • 👌 Improved cleaning up after manipulation toolbar.
    • ➕ Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
    • ➕ Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
    • 🛠 Fixed node label becoming undefined.
    • 🛠 Fixed cluster fontsize scaling.
    • 🛠 Fixed cluster sector scaling.
    • ➕ Added oldHeight and oldWidth to resize event.

    Timeline

    • 💅 Implemented field style for both items and groups, to set a custom style for individual items.
    • 🛠 Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
    • 🛠 Fixed width of BackgroundItems not being reduced to 0 when zooming out.
    • 🛠 Fixed onclick events in items not working.
    • ➕ Added hiddenDates to hide specific times and/or days in the timeline.

    DataSet

    • ⚡️ Event listeners of update now receive an extra property data, containing the changed fields of the changed items.

    Graph2d

    • 🛠 Fixed height of legend when there are many items showing.

    Graph3d

    • Implemented options xValueLabel, yValueLabel and zValueLabel for custom labels along the x, y, z axis. Thanks @fabriziofortino.