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.

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