vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1174 lines
41 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
  1. # vis.js history
  2. http://visjs.org
  3. ## YET TO BE RELEASED, version 4.5.1
  4. ### Network
  5. - Fixed another clustering bug, phantom edges should be gone now.
  6. - Fixed disabling hierarchical layout.
  7. ## 2015-07-17, version 4.5.0
  8. ### General
  9. - Docs have been greatly improved thanks to @felixhayashi! Thanks a lot!
  10. ### Network
  11. - Added shapeProperties, thanks @zukomgwili!
  12. - Added configChange event.
  13. - Properly fixed the _lockedRedraw method.
  14. - Fixed node resizing on dragging.
  15. - Fixed missing edges during clustering.
  16. - Fixed missing refresh of node data when changing hierarchical layout on the fly.
  17. - Fixed hover and blur events for edges.
  18. ### Graph3d
  19. - Fixed not changing `backgroundColor` when not provided in options. Thanks @ozydingo.
  20. ### Timeline
  21. - Implemented support for group templates (#996). Thanks @hansmaulwurf23.
  22. - Implemented option `zoomKey` for both Timeline and Graph2d (see #1082).
  23. Thanks @hansmaulwurf23.
  24. - Fixed #1076: Fixed possible overlap of minor labels text on the TimeAxis.
  25. - Fixed #1001: First element of group style being cut.
  26. - Fixed #1071: HTML contents of a group not cleared when the contents is updated.
  27. - Fixed #1033: Moved item data not updated in DataSet when using an asynchronous
  28. `onMove` handler.
  29. - Fixed #239: Do not zoom/move the window when the mouse is on the left panel
  30. with group labels.
  31. ## 2015-07-03, version 4.4.0
  32. ### General
  33. - Documentation now has breadcrums. Thanks @felixhayashi!
  34. ### Graph3d
  35. - Fixed #970: Implemented options `dataColor`, `axisColor`, and `gridColor`.
  36. ### Network
  37. - Fixed Hammerjs direction issue.
  38. - Fixed recursion error when node is fixed but has no position.
  39. - Fixed accidental redrawing during stabilization.
  40. - Fixed delete callbacks with null argument not showing toolbar afterwards.
  41. - Added zoom events from keyboard and navigation buttons.
  42. - No longer start stabilization with an empty node set.
  43. - Fixed #974 connecting static smooth and straight edges.
  44. - Improved handling of empty image field.
  45. - Fixed #987 proper cleaning of support nodes.
  46. - Fixed static smooth edges not fully working from every angle.
  47. - Fixed updating bounding box of nodes without drawing.
  48. - Fixed #1036, bug in lockedRedraw. Thanks @vges!
  49. - Added getDataset to all manipulation functions. Thanks @ericvandever!
  50. - Fixed #1039, icon now returns correct distance to border
  51. - Added blurEdge and hoverEdge events.
  52. - Added labelHighlightBold option to edges and nodes.
  53. - Added getOptionsFromConfigurator method.
  54. - Fixed extra edges in clustering.
  55. - Fixed cleaning up of clustering edges on declustering.
  56. - Made fit() method only look at visible nodes to get the range.
  57. ### Graph2d
  58. - Made graph2d more robust against string values in the y position.
  59. - Fixed bug where 0 axis was always in the automatically fitted range.
  60. - Added drawPoints.onRender. Thanks @mschallar!
  61. ### Timeline
  62. - Fixed cleaning up of items in subgroups, thanks @ChenMachluf!
  63. - Improved error notification with groups, thanks @skinkie!
  64. ## 2015-06-16, version 4.3.0
  65. ### General
  66. - Fixed #950: option `locales` broken in `Timeline`, `Graph2d`, and `Network`.
  67. - Fixed #964: `Timeline`, `Graph2d`, and `Network` not working on IE9.
  68. ### Graph2d
  69. - Fixed #942, #966: bug when data is empty.
  70. ### Timeline
  71. - Implemented `editable` option for individual items. Thanks @danbertolini.
  72. ### Network
  73. - Fixed dragStart event to give the correct node information.
  74. ## 2015-06-05, version 4.2.0
  75. ### General
  76. - Fixed #893, #911: the `clickToUse` option of Network, Graph2d, and Network
  77. was blocking click events in the web page.
  78. ### Timeline
  79. - Added axis orientation option `'none'`.
  80. - Added a property `event` to the properties emitted with the `select` event (see #923).
  81. - Improved function `fit()` to take into account the actual width of items.
  82. - Fixed #897: Timeline option `{snap: null}` did give a validation error.
  83. - Fixed #925: Event `timechanged` did not fire when mouse has been moved outside
  84. the timeline.
  85. ### Graph2D
  86. - Fixed #892, addressed any case in validator.
  87. - Fixed #898, lines are not taken into account for stacking.
  88. ### Network
  89. - Improved robustness against people molesting the Function.prototype.bind()
  90. - Fixed few functions including storePositions().
  91. - Added beginnings of unit testing for network.
  92. - Fixed #904, correctly parsing global font options now.
  93. - Fixed dataView support for storePositions.
  94. - Second click on node is no longer unselect.
  95. - Added releaseFunction to openCluster.
  96. - Fixed bug where the network could flicker when the pixelRatio is not integer.
  97. - Added enabled property to physics.
  98. - Fixed #927, dragStart event didn't contain node that was being dragged
  99. ## 2015-05-28, version 4.1.0
  100. ### Network
  101. - Fixed #866, manipulation can now be set to false without crashing.
  102. - Fixed #860, edit node mode now works as it should.
  103. - Fixed #859, images now resize again when they are loaded.
  104. - Fixed dynamic edges not correctly handling non-existent nodes.
  105. - Accepted pull from @killerDJO for fixing selected and hover colors for edges.
  106. - Fixed bug with right mouse button, scroll center and popup positions using the wrong coordinates.
  107. - Fixed click to use.
  108. - Fixed getConnectedEdges method.
  109. - Fixed clustering bug.
  110. - Added getNodesInCluster method.
  111. - Renamed editNodeMode to editNode, editNodeMode now give a deprecation log message.
  112. - Added multiselect to the docs.
  113. - Removed deprecated dynamic entree, allow any smooth curve style for hierarchical layout.
  114. - Fixed bug with the moveTo and getViewPosition methods.
  115. - Fixed #861, brokenImage only working for one node if nodes have the same image.
  116. - Fixed hoverNode and blurNode events and added them to the docs.
  117. - Fixed #884, selectNode event.
  118. - Fixed dynamic setting hidden and physics.
  119. - Fixed edit node mode's fallback.
  120. ### Graph2d & Timeline
  121. - Fixed #858, #872, fixed usage of deprecated `unsubscribe` from DataSet.
  122. - Fixed #869: Add className with id to custom time bars
  123. - Fixed #877: Added support for metaKey to select multiple items.
  124. ## 2015-05-22, version 4.0.0
  125. ### General
  126. - Changed the build scripts to include a transpilation of ES6 to ES5
  127. (using http://babel.org), so we can use ES6 features in the vis.js code.
  128. When creating a custom bundle using browserify, one now needs to add a
  129. transform step using `babelify`, this is described in README.md.
  130. ### Timeline
  131. - Integrated an option configurator and validator.
  132. - Implemented option `multiselect`, which is false by default.
  133. - Added method `setData({groups: groups, items: items})`.
  134. - Fixed range items not being displayed smaller than 10 pixels (twice the
  135. padding). In order to have overflowing text, one should now apply css style
  136. `.vis.timeline .item.range { overflow: visible; }` instead of
  137. `.vis.timeline .item.range .content { overflow: visible; }`.
  138. See example 18_range_overflow.html.
  139. - Fixed invalid css names for time axis grid, renamed hours class names from
  140. `4-8h` to `h4-h8`.
  141. - Deprecated option `showCustomTime`. Use method `addCustomTime()` instead.
  142. - Deprecated event `finishedRedraw` as it's redundant.
  143. - Renamed option `animate` to `animation`, and changed it to be either a boolean
  144. or an object `{duration: number, easingFunction: string}`.
  145. - Fixed #831: items losing selection when their type changed.
  146. ### Graph2d
  147. - New option structure.
  148. - Cleaned up docs.
  149. - Fixed #628: stacking order.
  150. - Fixed #624: sorting order.
  151. - Fixed #616: stacking with negative bars.
  152. - Fixed #728: alignment issues.
  153. - Fixed #716: Height of graph `2px` too large when configuring a fixed height.
  154. ### Network
  155. The network has been completely rewritten. The new modular setup using ES6 classes makes
  156. it future proof for maintainability, extendability and clarity. A summary of new features:
  157. - New examples, categorized by topic.
  158. - New docs.
  159. - New option structure, adhering to the modular setup on the backend.
  160. - New events for user interaction.
  161. - New render events for drawing custom elements on the canvas.
  162. - New physics events for making a loading bar during stabilization.
  163. - A lot of new methods that make extending easier.
  164. - Manipulation system now works without the UI neccesarily.
  165. - Nodes and edges can cast shadows.
  166. - Configurator system to dynamically change almost all options.
  167. - Validator has been created for the network's options, warning you about typo's and suggesting alternatives.
  168. - Diamond shape for nodes.
  169. - Unified the label code so edges and nodes have the same label settings.
  170. - InheritColors for edges can be set to both, making a gradient fade between two node colors.
  171. - Redesigned the clustering system giving full control over it.
  172. - Random seed can be saved so the network will be the same every time you start it.
  173. - New physics solver based on ForceAtlas2 as implemented in gephi.]
  174. - New avoidOverlap option for physics.
  175. - Many, many bugfixes.
  176. ### DataSet
  177. - Dropped support for Google visualization DataTable.
  178. - Dropped support for appending data returned by `DataSet.get()` to an existing
  179. Array or DataTable.
  180. ## 2015-04-07, version 3.12.0
  181. ### Network
  182. - Fixed support for DataSet with custom id fields (option `fieldId`).
  183. ### Timeline
  184. - Orientation can now be configured separately for axis and items.
  185. - The event handlers `onMove` and `onMoving` are now invoked with all item
  186. properties as argument, and can be used to update all properties (like
  187. content, className, etc) and add new properties as well.
  188. - Fixed #654: removed unnecessary minimum height for groups, takes the
  189. height of the group label as minimum height now.
  190. - Fixed #708: detecting wrong group when page is scrolled.
  191. - Fixed #733: background items being selected on shift+click.
  192. ## 2015-03-05, version 3.11.0
  193. ### Network
  194. - (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options)
  195. - Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
  196. - Added option to bypass default groups. If more groups are specified in the nodes than there are in the groups, loop over supplied groups instead of default.
  197. - Added two new static smooth curves modes: curveCW and curve CCW.
  198. - Added request redraw for certain internal processes to reduce number of draw calls (performance improvements!).
  199. - Added pull request for usage of Icons. Thanks @Dude9177!
  200. - Allow hierarchical view to be set in setOptions.
  201. - Fixed manipulation bar for mobile.
  202. - Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView.
  203. - Fixed #688: Added a css class to be able to distinguish buttons "Edit node"
  204. and "Edit edge".
  205. ### Timeline
  206. - Implemented orientation option `'both'`, displaying a time axis both on top
  207. and bottom (#665).
  208. - Implemented creating new range items by dragging in an empty space with the
  209. ctrl key down.
  210. - Implemented configuration option `order: function` to define a custom ordering
  211. for the items (see #538, #234).
  212. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  213. - Implemented method `getEventProperties(event)`.
  214. - Fixed not property initializing with a DataView for groups.
  215. - Merged add custom timebar functionality, thanks @aytech!
  216. - Fixed #664: end of item not restored when canceling a move event.
  217. - Fixed #609: reduce the left/right dragarea when an item range is very small,
  218. so you can still move it as a whole.
  219. - Fixed #676: misalignment of background items when using subgroups and the
  220. group label's height is larger than the contents.
  221. ### Graph2d
  222. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  223. - Implemented method `getEventProperties(event)`.
  224. ### DataSet/DataView
  225. - Implemented support for mapping field names. Thanks @spatialillusions.
  226. - Fixed #670: DataView not passing a data property on update events (see #670)
  227. ## 2015-02-11, version 3.10.0
  228. ### Network
  229. - Added option bindToWindow (default true) to choose whether the keyboard binds are global or to the network div.
  230. - Improved images handling so broken images are shown on all references of images that are broken.
  231. - Added getConnectedNodes method.
  232. - Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to Nodes.
  233. - Added fade in of labels (on nodes) near the fontDrawThreshold.
  234. - Added nodes option to zoomExtent to zoom in on specific set of nodes.
  235. - Added stabilizationIterationsDone event which fires at the end of the internal stabilization run. Does not imply that the network is stabilized.
  236. - Added freezeSimulation method.
  237. - Added clusterByZoom option.
  238. - Added class name 'network-tooltip' to the tooltip, allowing custom styling.
  239. - Fixed bug when redrawing was not right on zoomed-out browsers.
  240. - Added opacity option to edges. Opacity is only used for the unselected state.
  241. - Fixed bug where selections from removed data elements persisted.
  242. ### Timeline
  243. - `Timeline.redraw()` now also recalculates the size of items.
  244. - Implemented option `snap: function` to customize snapping to nice dates
  245. when dragging items.
  246. - Implemented option `timeAxis: {scale: string, step: number}` to set a
  247. fixed scale.
  248. - Fixed width of range items not always being maintained when moving due to
  249. snapping to nice dates.
  250. - Fixed not being able to drag items to an other group on mobile devices.
  251. - Fixed `setWindow` not working when applying an interval larger than the
  252. configured `zoomMax`.
  253. ### DataSet/DataView
  254. - Added property `length` holding the total number of items to the `DataSet`
  255. and `DataView`.
  256. - Added a method `refresh()` to the `DataView`, to update filter results.
  257. - Fixed a bug in the `DataSet` returning an empty object instead of `null` when
  258. no item was found when using both a filter and specifying fields.
  259. ## 2015-01-16, version 3.9.1
  260. ### General
  261. - Fixed wrong distribution file deployed on the website and the downloadable
  262. zip file.
  263. ### Network
  264. - Fixed bug where opening a cluster with smoothCurves off caused one child to go crazy.
  265. - Fixed bug where zoomExtent does not work as expected.
  266. - Fixed nodes color data being overridden when having a group and a dataset update query.
  267. - Decoupled animation from physics simulation.
  268. - Fixed scroll being blocked if zoomable is false.
  269. ## 2015-01-16, version 3.9.0
  270. ### Network
  271. - Reverted change in image class, fixed bug #552
  272. - Improved (not neccesarily fixed) the fontFill offset between different browsers. #365
  273. - Fixed dashed lines on firefox on Unix systems
  274. - Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();
  275. - Improved drawing of arrowheads on smooth curves. #349
  276. - Caught case where click originated on external DOM element and drag progressed to vis.
  277. - Added label stroke support to Nodes, Edges & Groups as per-object or global settings. Thank you @klmdb!
  278. - Reverted patch that made nodes return to 'default' setting if no group was assigned to fix issue #561. The correct way to 'remove' a group from a node is to assign it a different one.
  279. - Made the node/edge selected by the popup system the same as selected by the click-to-select system. Thank you @pavlos256!
  280. - Improved edit edge control nodes positions, altered style a little.
  281. - Fixed issue #564 by resetting state to initial when no callback is performed in the return function.
  282. - Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.
  283. - Added labelAlignment option to edges. Thanks @T-rav!
  284. - Close active sessions in dataManipulation when calling setData().
  285. - Fixed alignment issue with edgelabels
  286. ### Timeline
  287. - Added byUser flag to options of the rangechange and rangechanged event.
  288. ## 2015-01-09, version 3.8.0
  289. ### General
  290. - Updated to moment.js v2.9.0
  291. ### Network
  292. - Fixed flipping of hierarchical network on update when using RL and DU.
  293. - Added zoomExtentOnStabilize option to network.
  294. - Improved destroy function, added them to the examples.
  295. - Nodes now have bounding boxes that are used for zoomExtent.
  296. - Made physics more stable (albeit a little slower).
  297. - Added a check so only one 'activator' overlay is created on clickToUse.
  298. - Made global color options for edges overrule the inheritColors.
  299. - Improved cleaning up of the physics configuration on destroy and in options.
  300. - Made nodes who lost their group revert back to default color.
  301. - Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
  302. - Fixed bug where box shaped nodes did not use hover color.
  303. - Fixed Locales docs.
  304. - When hovering over a node that does not have a title, the title of one of the connected edges that HAS a title is no longer shown.
  305. - Fixed error in repulsion physics model.
  306. - Improved physics handling for smoother network simulation.
  307. - Fixed infinite loop when an image can not be found and no brokenImage is provided.
  308. - Added getBoundingBox method.
  309. - Community fix for SVG images in IE11, thanks @dponch!
  310. - Fixed repeating stabilized event when the network is already stabilized.
  311. - Added circularImages, thanks for the contribution @brendon1982!
  312. - Stopped infinite loop when brokenImage is also not available.
  313. - Changed util color functions so they don't need eval. Thanks @naskooskov!
  314. ### Graph2d
  315. - Fixed round-off errors of zero on the y-axis.
  316. - added show major/minor lines options to dataAxis.
  317. - Fixed adapting to width and height changes.
  318. - Added a check so only one 'activator' overlay is created on clickToUse.
  319. - DataAxis width option now draws correctly.
  320. ### Timeline
  321. - Implemented support for styling of the vertical grid.
  322. - Support for custom date formatting of the labels on the time axis.
  323. - added show major/minor lines options to timeline.
  324. - Added a check so only one 'activator' overlay is created on clickToUse.
  325. ### Graph3d
  326. - Fixed mouse coordinates for tooltips.
  327. ## 2014-12-09, version 3.7.2
  328. ### Timeline
  329. - Fixed zooming issue on mobile devices.
  330. ### Graph2D
  331. - Fixed infinite loop when clearing DataSet
  332. ### Network
  333. - Sidestepped double touch event from hammer (ugly.. but functional) causing
  334. strange behaviour in manipulation mode
  335. - Better cleanup after reconnecting edges in manipulation mode
  336. - Fixed recursion error with smooth edges that are connected to non-existent nodes
  337. - Added destroy method.
  338. ## 2014-11-28, version 3.7.1
  339. ### Timeline
  340. - Implemented selection of a range of items using Shift+Click.
  341. - Fixed content in range items may overflow range after zoom.
  342. - Fixed onAdd/onUpdate callbacks when using a DataView (thanks @motzel).
  343. - Fixed configuring either `start` or `end`.
  344. - Fixed Timeline and Graph2d getting stuck in an infinite loop in some
  345. circumstances.
  346. - Fixed background items being selectable and editable when a height is set.
  347. ### Graph2D
  348. - Added `alignZeros` option to dataAxis with default value true.
  349. - Fixed bug with points drawn on bargraphs
  350. - Fixed docs
  351. - Fixed height increase on scrolling if only `graphHeight` is defined.
  352. ### Network
  353. - dragEnd event now does not give the selected nodes if only the viewport has been dragged #453
  354. - merged high DPI fix by @crubier, thanks!
  355. ## 2014-11-14, version 3.7.0
  356. ### Graph2D
  357. - Added points style for scatterplots and pointclouds.
  358. - Modularized the Graph2D draw styles.
  359. - Added a finishedRedraw event.
  360. ### Network
  361. - Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
  362. - Removed IDs from navigation so multiple networks can be shown on the same page. (#438)
  363. ### Timeline
  364. - Added a finishedRedraw event.
  365. - Fixed the disappearing item bug.
  366. - Fixed keycharm issue.
  367. ## 2014-11-07, version 3.6.4
  368. ### General
  369. - Removed mousetrap due to Apache license, created keycharm and implemented it with vis.
  370. ### Timeline
  371. - Fixed height of background items when having a fixed or max height defined.
  372. - Fixed only one item being dragged when multiple items are selected.
  373. - Optimised a serious slowdown on performance since hidden dates.
  374. ### Network
  375. - Fixed onRelease with navigation option.
  376. - Fixed arrow heads not being colored.
  377. ### Graph2D
  378. - Fixed cleaning up of groups.
  379. - Throw error message when items are added before groups.
  380. - Made graphHeight automatic if height is defined AND if graphHeight is smaller than the center panel when height is defined as well.
  381. - Added new verticalDrag event for internal use, allowing the vertical scrolling of the grid lines on drag.
  382. - Fixed moving legend when postioned on the bottom and vertical dragging.
  383. - Optimised a serious slowdown on performance since hidden dates.
  384. - Accepted a large pull request from @cdjackson adding the following features (thank you!):
  385. - Titles on the DataAxis to explain what units you are using.
  386. - A style field for groups and datapoints so you can dynamically change styles.
  387. - A precision option to manually set the amount of decimals.
  388. - Two new examples showing the new features.
  389. ## 2014-10-28, version 3.6.3
  390. ### Timeline
  391. - Fixed background items not always be cleared when removing them.
  392. - Fixed visible items not always be displayed.
  393. - Performance improvements when doing a lot of changes at once in a DataSet.
  394. ### Network
  395. - Fixed dashed and arrow lines not using inheritColor.
  396. ### DataSet
  397. - Support for queueing of changes, and flushing them at once.
  398. - Implemented `DataSet.setOptions`. Only applicable for the `queue` options.
  399. ## 2014-10-24, version 3.6.2
  400. - Vis.js is now dual licensed under both Apache 2.0 and MIT.
  401. ## 2014-10-22, version 3.6.1
  402. ### Timeline
  403. - Fixed uneven stepsized with hidden dates.
  404. - Fixed multiple bugs with regards to hidden dates.
  405. - Fixed subgroups and added subgroup sorting. Subgroup labels will be in future releases.
  406. ## 2014-10-21, version 3.6.0
  407. ### Network
  408. - Title of nodes and edges can now be an HTML element too.
  409. - Renamed storePosition to storePositions. Added deprication message and old name still works.
  410. - Worked around hammer.js bug with multiple release listeners.
  411. - Improved cleaning up after manipulation toolbar.
  412. - Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
  413. - Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
  414. - Fixed node label becoming undefined.
  415. - Fixed cluster fontsize scaling.
  416. - Fixed cluster sector scaling.
  417. - Added oldHeight and oldWidth to resize event.
  418. ### Timeline
  419. - Implemented field `style` for both items and groups, to set a custom style for
  420. individual items.
  421. - Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
  422. - Fixed width of BackgroundItems not being reduced to 0 when zooming out.
  423. - Fixed onclick events in items not working.
  424. - Added hiddenDates to hide specific times and/or days in the timeline.
  425. ### DataSet
  426. - Event listeners of `update` now receive an extra property `data`,
  427. containing the changed fields of the changed items.
  428. ### Graph2d
  429. - Fixed height of legend when there are many items showing.
  430. ### Graph3d
  431. - Implemented options `xValueLabel`, `yValueLabel` and `zValueLabel` for custom labels along
  432. the x, y, z axis. Thanks @fabriziofortino.
  433. ## 2014-09-16, version 3.5.0
  434. ### Network
  435. - Fixed nodes not always being unfixed when using allowedToMove.
  436. - Added dragStart and dragEnd events.
  437. - Added edge selection on edge labels.
  438. ### Graph2d
  439. - Fixed dataAxis not showing large numbers correctly.
  440. ## 2014-09-12, version 3.4.2
  441. ### Network
  442. - Changed timings for zoomExtent animation.
  443. - Fixed possible cause of freezing graph when animating.
  444. - Added locked to focusOnNode and releaseNode().
  445. - Fixed minor bug in positioning of fontFill of nodes with certain shapes.
  446. - Added startStabilization event.
  447. ## 2014-09-11, version 3.4.1
  448. ### Network
  449. - Fix for introduced bug on zoomExtent navigation button.
  450. - Added animation to zoomExtent navigation button.
  451. - Improved cleaning of Hammer.js bindings.
  452. ### Timeline
  453. - Fixed a bug in IE freezing when margin.item and margin.axis where both 0.
  454. ## 2014-09-10, version 3.4.0
  455. ### Graph2d
  456. - Fixed moment.js url in localization example.
  457. ### Network
  458. - Fixed some positioning issues with the close button of the manipulation menu.
  459. - Added fontFill to Nodes as it is in Edges.
  460. - Implemented support for broken image fallback. Thanks @sfairgrieve.
  461. - Added multiline labels to edges as they are implemented in nodes. Updated
  462. multiline example to show this.
  463. - Added animation and camera controls by the method .moveTo()
  464. - Added new event that fires when the animation is finished.
  465. - Added new example showing the new features of animation.
  466. - Added getScale() method.
  467. ### Timeline
  468. - Implemented support for templates.
  469. - Implemented a new item type: `'background'`. This can be used to mark periods
  470. with a background color and label.
  471. - Implemented support for attaching HTML attributes to items. Thanks @dturkenk.
  472. - Fixed moment.js url in localization example.
  473. - Fixed `className` of groups not being updated when changed.
  474. - Fixed the `id` field of a new item not correctly generated.
  475. - Fixed newly added item ignored when returning an other object instance.
  476. - Fixed option `autoResize` not working on IE in case of changing visibility
  477. of the Timeline container element.
  478. - Fixed an overflow issue with the dots of BoxItems when using groups.
  479. - Fixed a horizontal 1-pixel offset in the items (border width wasn't taken into
  480. account).
  481. - Renamed internal items from `ItemBox`, `ItemRange`, and `ItemPoint` to
  482. respectively `BoxItem`, `RangeItem`, and `PointItem`.
  483. - Fixed an error thrown when calling `destroy()`.
  484. ## 2014-08-29, version 3.3.0
  485. ### Timeline
  486. - Added localization support.
  487. - Implemented option `clickToUse`.
  488. - Implemented function `focus(id)` to center a specific item (or multiple items)
  489. on screen.
  490. - Implemented an option `focus` for `setSelection(ids, options)`, to immediately
  491. focus selected nodes.
  492. - Implemented function `moveTo(time, options)`.
  493. - Implemented animated range change for functions `fit`, `focus`, `setSelection`,
  494. and `setWindow`.
  495. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  496. - Implemented a new callback function `onMoving(item, callback)`.
  497. - Implemented support for option `align` for range items.
  498. - Fixed the `change` event sometimes being fired twice on IE10.
  499. - Fixed canceling moving an item to another group did not move the item
  500. back to the original group.
  501. - Fixed the `change` event sometimes being fired twice on IE10.
  502. - Fixed canceling moving an item to another group did not move the item
  503. back to the original group.
  504. ### Network
  505. - A fix in reading group properties for a node.
  506. - Fixed physics solving stopping when a support node was not moving.
  507. - Implemented localization support.
  508. - Implemented option `clickToUse`.
  509. - Improved the `stabilized` event, it's now firing after every stabilization
  510. with iteration count as parameter.
  511. - Fixed page scroll event not being blocked when moving around in Network
  512. using arrow keys.
  513. - Fixed an initial rendering before the graph has been stabilized.
  514. - Fixed bug where loading hierarchical data after initialization crashed network.
  515. - Added different layout method to the hierarchical system based on the direction of the edges.
  516. ### Graph2d
  517. - Implemented option `handleOverlap` to support overlap, sideBySide and stack.
  518. - Implemented two examples showing the `handleOverlap` functionality.
  519. - Implemented `customRange` for the Y axis and an example showing how it works.
  520. - Implemented localization support.
  521. - Implemented option `clickToUse`.
  522. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  523. - Implemented function `moveTo(time, options)`.
  524. - Fixed bugs.
  525. - Added groups.visibility functionality and an example showing how it works.
  526. ## 2014-08-14, version 3.2.0
  527. ### General
  528. - Refactored Timeline and Graph2d to use the same core.
  529. ### Graph2d
  530. - Added `visible` property to the groups.
  531. - Added `getLegend()` method.
  532. - Added `isGroupVisible()` method.
  533. - Fixed empty group bug.
  534. - Added `fit()` and `getItemRange()` methods.
  535. ### Timeline
  536. - Fixed items in groups sometimes being displayed but not positioned correctly.
  537. - Fixed a group "null" being displayed in IE when not using groups.
  538. ### Network
  539. - Fixed mass = 0 for nodes.
  540. - Revamped the options system. You can globally set options (network.setOptions) to update settings of nodes and edges that have not been specifically defined by the individual nodes and edges.
  541. - Disabled inheritColor when color information is set on an edge.
  542. - Tweaked examples.
  543. - Removed the global length property for edges. The edgelength is part of the physics system. Therefore, you have to change the springLength of the physics system to change the edge length. Individual edge lengths can still be defined.
  544. - Removed global edge length definition form examples.
  545. - Removed onclick and onrelease for navigation and switched to Hammer.js (fixing touchscreen interaction with navigation).
  546. - Fixed error on adding an edge without having created the nodes it should be connected to (in the case of dynamic smooth curves).
  547. ## 2014-07-22, version 3.1.0
  548. ### General
  549. - Refactored the code to commonjs modules, which are browserifyable. This allows
  550. to create custom builds.
  551. ### Timeline
  552. - Implemented function `getVisibleItems()`, which returns the items visible
  553. in the current window.
  554. - Added options `margin.item.horizontal` and `margin.item.vertical`, which
  555. allows to specify different margins horizontally/vertically.
  556. - Removed check for number of arguments in callbacks `onAdd`, `onUpdate`,
  557. `onRemove`, and `onMove`.
  558. - Fixed items in groups sometimes being displayed but not positioned correctly.
  559. - Fixed range where the `end` of the first is equal to the `start` of the second
  560. sometimes being stacked instead of put besides each other when `item.margin=0`
  561. due to round-off errors.
  562. ### Network (formerly named Graph)
  563. - Expanded smoothCurves options for improved support for large clusters.
  564. - Added multiple types of smoothCurve drawing for greatly improved performance.
  565. - Option for inherited edge colors from connected nodes.
  566. - Option to disable the drawing of nodes or edges on drag.
  567. - Fixed support nodes not being cleaned up if edges are removed.
  568. - Improved edge selection detection for long smooth curves.
  569. - Fixed dot radius bug.
  570. - Updated max velocity of nodes to three times it's original value.
  571. - Made "stabilized" event fire every time the network stabilizes.
  572. - Fixed drift in dragging nodes while zooming.
  573. - Fixed recursively constructing of hierarchical layouts.
  574. - Added borderWidth option for nodes.
  575. - Implemented new Hierarchical view solver.
  576. - Fixed an issue with selecting nodes when the web page is scrolled down.
  577. - Added Gephi JSON parser
  578. - Added Neighbour Highlight example
  579. - Added Import From Gephi example
  580. - Enabled color parsing for nodes when supplied with rgb(xxx,xxx,xxx) value.
  581. ### DataSet
  582. - Added .get() returnType option to return as JSON object, Array or Google
  583. DataTable.
  584. ## 2014-07-07, version 3.0.0
  585. ### Timeline
  586. - Implemented support for displaying a `title` for both items and groups.
  587. - Fixed auto detected item type being preferred over the global item `type`.
  588. - Throws an error when constructing without new keyword.
  589. - Removed the 'rangeoverflow' item type. Instead, one can use a regular range
  590. and change css styling of the item contents to:
  591. .vis.timeline .item.range .content {
  592. overflow: visible;
  593. }
  594. - Fixed the height of background and foreground panels of groups.
  595. - Fixed ranges in the Timeline sometimes overlapping when dragging the Timeline.
  596. - Fixed `DataView` not working in Timeline.
  597. ### Network (formerly named Graph)
  598. - Renamed `Graph` to `Network` to prevent confusion with the visualizations
  599. `Graph2d` and `Graph3d`.
  600. - Renamed option `dragGraph` to `dragNetwork`.
  601. - Now throws an error when constructing without new keyword.
  602. - Added pull request from Vukk, user can now define the edge width multiplier
  603. when selected.
  604. - Fixed `graph.storePositions()`.
  605. - Extended Selection API with `selectNodes` and `selectEdges`, deprecating
  606. `setSelection`.
  607. - Fixed multiline labels.
  608. - Changed hierarchical physics solver and updated docs.
  609. ### Graph2d
  610. - Added first iteration of the Graph2d.
  611. ### Graph3d
  612. - Now throws an error when constructing without new keyword.
  613. ## 2014-06-19, version 2.0.0
  614. ### Timeline
  615. - Implemented function `destroy` to neatly cleanup a Timeline.
  616. - Implemented support for dragging the timeline contents vertically.
  617. - Implemented options `zoomable` and `moveable`.
  618. - Changed default value of option `showCurrentTime` to true.
  619. - Internal refactoring and simplification of the code.
  620. - Fixed property `className` of groups not being applied to related contents and
  621. background elements, and not being updated once applied.
  622. ### Graph
  623. - Reduced the timestep a little for smoother animations.
  624. - Fixed dataManipulation.initiallyVisible functionality (thanks theGrue).
  625. - Forced typecast of fontSize to Number.
  626. - Added editing of edges using the data manipulation toolkit.
  627. ### DataSet
  628. - Renamed option `convert` to `type`.
  629. ## 2014-06-06, version 1.1.0
  630. ### Timeline
  631. - Select event now triggers repeatedly when selecting an already selected item.
  632. - Renamed `Timeline.repaint()` to `Timeline.redraw()` to be consistent with
  633. the other visualisations of vis.js.
  634. - Fixed `Timeline.clear()` not resetting a configured `options.start` and
  635. `options.end`.
  636. ### Graph
  637. - Fixed error with zero nodes with hierarchical layout.
  638. - Added focusOnNode function.
  639. - Added hover option.
  640. - Added dragNodes option. Renamed movebale to dragGraph option.
  641. - Added hover events (hoverNode, blurNode).
  642. ### Graph3D
  643. - Ported Graph3D from Chap Links Library.
  644. ## 2014-05-28, version 1.0.2
  645. ### Timeline
  646. - Implemented option `minHeight`, similar to option `maxHeight`.
  647. - Implemented a method `clear([what])`, to clear items, groups, and configuration
  648. of a Timeline instance.
  649. - Added function `repaint()` to force a repaint of the Timeline.
  650. - Some tweaks in snapping dragged items to nice dates.
  651. - Made the instance of moment.js packaged with vis.js accessibly via `vis.moment`.
  652. - A newly created item is initialized with `end` property when option `type`
  653. is `"range"` or `"rangeoverflow"`.
  654. - Fixed a bug in replacing the DataSet of groups via `Timeline.setGroups(groups)`.
  655. - Fixed a bug when rendering the Timeline inside a hidden container.
  656. - Fixed axis scale being determined wrongly for a second Timeline in a single page.
  657. ### Graph
  658. - Added zoomable and moveable options.
  659. - Changes setOptions to avoid resetting view.
  660. - Interchanged canvasToDOM and DOMtoCanvas to correspond with the docs.
  661. ## 2014-05-09, version 1.0.1
  662. ### Timeline
  663. - Fixed width of items with type `rangeoverflow`.
  664. - Fixed a bug wrongly rendering invisible items after updating them.
  665. ### Graph
  666. - Added coordinate conversion from DOM to Canvas.
  667. - Fixed bug where the graph stopped animation after settling in playing with physics.
  668. - Fixed bug where hierarchical physics properties were not handled.
  669. - Added events for change of view and zooming.
  670. ## 2014-05-02, version 1.0.0
  671. ### Timeline
  672. - Large refactoring of the Timeline, simplifying the code.
  673. - Great performance improvements.
  674. - Improved layout of box-items inside groups.
  675. - Items can now be dragged from one group to another.
  676. - Implemented option `stack` to enable/disable stacking of items.
  677. - Implemented function `fit`, which sets the Timeline window such that it fits
  678. all items.
  679. - Option `editable` can now be used to enable/disable individual manipulation
  680. actions (`add`, `updateTime`, `updateGroup`, `remove`).
  681. - Function `setWindow` now accepts an object with properties `start` and `end`.
  682. - Fixed option `autoResize` forcing a repaint of the Timeline with every check
  683. rather than when the Timeline is actually resized.
  684. - Fixed `select` event fired repeatedly when clicking an empty place on the
  685. Timeline, deselecting selected items).
  686. - Fixed initial visible window in case items exceed `zoomMax`. Thanks @Remper.
  687. - Fixed an offset in newly created items when using groups.
  688. - Fixed height of a group not reckoning with the height of the group label.
  689. - Option `order` is now deprecated. This was needed for performance improvements.
  690. - More examples added.
  691. - Minor bug fixes.
  692. ### Graph
  693. - Added recalculate hierarchical layout to update node event.
  694. - Added arrowScaleFactor to scale the arrows on the edges.
  695. ### DataSet
  696. - A DataSet can now be constructed with initial data, like
  697. `new DataSet(data, options)`.
  698. ## 2014-04-18, version 0.7.4
  699. ### Graph
  700. - Fixed IE9 bug.
  701. - Style fixes.
  702. - Minor bug fixes.
  703. ## 2014-04-16, version 0.7.3
  704. ### Graph
  705. - Fixed color bug.
  706. - Added pull requests from kannonboy and vierja: tooltip styling, label fill
  707. color.
  708. ## 2014-04-09, version 0.7.2
  709. ### Graph
  710. - Fixed edge select bug.
  711. - Fixed zoom bug on empty initialization.
  712. ## 2014-03-27, version 0.7.1
  713. ### Graph
  714. - Fixed edge color bug.
  715. - Fixed select event bug.
  716. - Clarified docs, stressing importance of css inclusion for correct display of
  717. navigation an manipulation icons.
  718. - Improved and expanded playing with physics (configurePhysics option).
  719. - Added highlights to navigation icons if the corresponding key is pressed.
  720. - Added freezeForStabilization option to improve stabilization with cached
  721. positions.
  722. ## 2014-03-07, version 0.7.0
  723. ### Graph
  724. - Changed navigation CSS. Icons are now always correctly positioned.
  725. - Added stabilizationIterations option to graph.
  726. - Added storePosition() method to save the XY positions of nodes in the DataSet.
  727. - Separated allowedToMove into allowedToMoveX and allowedToMoveY. This is
  728. required for initializing nodes from hierarchical layouts after
  729. storePosition().
  730. - Added color options for the edges.
  731. ## 2014-03-06, version 0.6.1
  732. ### Graph
  733. - Bugfix graphviz examples.
  734. - Bugfix labels position for smooth curves.
  735. - Tweaked graphviz example physics.
  736. - Updated physics documentation to stress importance of configurePhysics.
  737. ### Timeline
  738. - Fixed a bug with options `margin.axis` and `margin.item` being ignored when
  739. setting them to zero.
  740. - Some clarifications in the documentation.
  741. ## 2014-03-05, version 0.6.0
  742. ### Graph
  743. - Added Physics Configuration option. This makes tweaking the physics system to
  744. suit your needs easier.
  745. - Click and doubleClick events.
  746. - Initial zoom bugfix.
  747. - Directions for Hierarchical layout.
  748. - Refactoring and bugfixes.
  749. ## 2014-02-20, version 0.5.1
  750. - Fixed broken bower module.
  751. ## 2014-02-20, version 0.5.0
  752. ### Timeline
  753. - Editable Items: drag items, add new items, update items, and remove items.
  754. - Implemented options `selectable`, `editable`.
  755. - Added events `timechange` and `timechanged` when dragging the custom time bar.
  756. - Multiple items can be selected using ctrl+click or shift+click.
  757. - Implemented functions `setWindow(start, end)` and `getWindow()`.
  758. - Fixed scroll to zoom not working on IE in standards mode.
  759. ### Graph
  760. - Editable nodes and edges: create, update, and remove them.
  761. - Support for smooth, curved edges (on by default).
  762. - Performance improvements.
  763. - Fixed scroll to zoom not working on IE in standards mode.
  764. - Added hierarchical layout option.
  765. - Overhauled physics system, now using Barnes-Hut simulation by default. Great
  766. performance gains.
  767. - Modified clustering system to give better results.
  768. - Adaptive performance system to increase visual performance (60fps target).
  769. ### DataSet
  770. - Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.
  771. ## 2014-01-31, version 0.4.0
  772. ### Timeline
  773. - Implemented functions `on` and `off` to create event listeners for events
  774. `rangechange`, `rangechanged`, and `select`.
  775. - Implemented function `select` to get and set the selected items.
  776. - Items can be selected by clicking them, muti-select by holding them.
  777. - Fixed non working `start` and `end` options.
  778. ### Graph
  779. - Fixed longstanding bug in the force calculation, increasing simulation
  780. stability and fluidity.
  781. - Reworked the calculation of the Graph, increasing performance for larger
  782. datasets (up to 10x!).
  783. - Support for automatic clustering in Graph to handle large (>50000) datasets
  784. without losing performance.
  785. - Added automatic initial zooming to Graph, to more easily view large amounts
  786. of data.
  787. - Added local declustering to Graph, freezing the simulation of nodes outside
  788. of the cluster.
  789. - Added support for key-bindings by including mouseTrap in Graph.
  790. - Added navigation controls.
  791. - Added keyboard navigation.
  792. - Implemented functions `on` and `off` to create event listeners for event
  793. `select`.
  794. ## 2014-01-14, version 0.3.0
  795. - Moved the generated library to folder `./dist`
  796. - Css stylesheet must be loaded explicitly now.
  797. - Implemented options `showCurrentTime` and `showCustomTime`. Thanks @fi0dor.
  798. - Implemented touch support for Timeline.
  799. - Fixed broken Timeline options `min` and `max`.
  800. - Fixed not being able to load vis.js in node.js.
  801. ## 2013-09-20, version 0.2.0
  802. - Implemented full touch support for Graph.
  803. - Fixed initial empty range in the Timeline in case of a single item.
  804. - Fixed field `className` not working for items.
  805. ## 2013-06-20, version 0.1.0
  806. - Added support for DataSet to Graph. Graph now uses an id based set of nodes
  807. and edges instead of a row based array internally. Methods getSelection and
  808. setSelection of Graph now accept a list with ids instead of rows.
  809. - Graph is now robust against edges pointing to non-existing nodes, which
  810. can occur easily while dynamically adding/removing nodes and edges.
  811. - Implemented basic support for groups in the Timeline.
  812. - Added documentation on DataSet and DataView.
  813. - Fixed selection of nodes in a Graph when the containing web page is scrolled.
  814. - Improved date conversion.
  815. - Renamed DataSet option `fieldTypes` to `convert`.
  816. - Renamed function `vis.util.cast` to `vis.util.convert`.
  817. ## 2013-06-07, version 0.0.9
  818. - First working version of the Graph imported from the old library.
  819. - Documentation added for both Timeline and Graph.
  820. ## 2013-05-03, version 0.0.8
  821. - Performance improvements: only visible items are rendered.
  822. - Minor bug fixes and improvements.
  823. ## 2013-04-25, version 0.0.7
  824. - Sanitized the published packages on npm and bower.
  825. ## 2013-04-25, version 0.0.6
  826. - Css is now packaged in the javascript file, and automatically loaded.
  827. - The library uses node style dependency management for modules now, used
  828. with Browserify.
  829. ## 2013-04-16, version 0.0.5
  830. - First working version of the Timeline.
  831. - Website created.