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.

1585 lines
56 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
8 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
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
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
11 years ago
  1. # vis.js history
  2. http://visjs.org
  3. ## 2016-11-05, version 4.17.0
  4. ### General
  5. - Generate source-maps in develop-branch (#2246)
  6. - Implemented #2181: Ignore the "dist" folder in the develop-branch (#2245)
  7. - Updates DataSet and DataView remove event payload (#2189, #2264)
  8. - Added a Gitter chat badge to README.md (#2179)
  9. - Adds `oldData` to the update event payload in DataView (#2174)
  10. - Prevent moment.js deprecation warning (#2089)
  11. - Fixed #2170: Improved the contribution docs (#1991, #2158, #2178, #2183, #2213, #2218, #2219)
  12. - Implemented #1969: generate individual css files for network and timeline (#1970)
  13. - Cleanup bower.json (#1968)
  14. - Removed feature-request page from website (TODO)
  15. - Distinguish better between `devDependencies` and `dependencies` (#1967)
  16. - Typos and minor docs improvements (#1958, #2028, #2050, #2093, #2222, #2223, #2224)
  17. - Replaced `gulp-minify-css` with `gulp-clean-css` (#1953)
  18. ### Network
  19. - Fixed HTML in nodes example to work in Safari (#2248, #2260)
  20. - Fixed #2100: "zoom" improvements; `clusterByConnection` bugfix (#2229)
  21. - Implemented #2073: New example to export/import current network as JSON (#2152)
  22. - Fixed #1718, #2122: Fix blur edge for dense networks (#2124)
  23. - Russian, Italian, Brazilian Portuguese locale (#2111, #2184, #2188, #2052)
  24. - Implemented #1993: edge-endpoint 'circle' (#2066)
  25. - Implemented #972, #1920: advanced Clustering (#2055)
  26. - Removed restriction to allow clusters of a single node. (#2013)
  27. - Improved label positioning in ellipses (#2011)
  28. - Fixed #1857: Fixed node positioning with improved Layout:true (#1987)
  29. - Fixed issue with selecting edges drawn close to another (#1922)
  30. - Fixed getPoint for same node edges (#1907)
  31. ### Timeline / Graph2D
  32. - Fixed #2261: Bugs with mousewheel events (#2262)
  33. - Implemented #1506: Date-Time-Tooltip while item dragging (#2247)
  34. - Fixed background items with no groups (#2241)
  35. - Fixed #2015: Fixes and improvements for data-serialization (#2244)
  36. - Implemented #1881: Drag and Drop into a timeline (#2238)
  37. - Implemented #1955: Added zoomIn and zoomOut functions (#2239)
  38. - Implemented #2027: Auto-detect Right-To-Left orientation from DOM attributes (#2235, #2237)
  39. - German locale (#2234)
  40. - Option `zoomKey` added for mouse wheel support (#2197, #2216, #2217)
  41. - Implements #2193: Horizontal scrollbar (#2201)
  42. - Implements #272, #466, #1060: Vertical scrollbar (#2196, #2197, #2228, #2231)
  43. - Fixed #2173: Italian locale (#2185)
  44. - Example for react.js support (#2153, #2206, #2211)
  45. - Allow custom label formatting via functions (#1098, #2145)
  46. - Fix Vertical visibility for all item types (#2143)
  47. - Fixed #2057: Right-To-Left orientation docs (#2141)
  48. - Small bugfix to prevent null pointer exception (#2116)
  49. - Add missing require for util module (#2109)
  50. - Fixed #2092: Gaps between timeline items (#2107)
  51. - Fixed #2064: Fixed position of box item (#2106)
  52. - Implemented #773, #1367: `itemover` and `itemout` events (#2099)
  53. - Fixed #27023: Use `requestAnimationFrame` to throttle redraws ()#2091)
  54. - Hide vertically hidden ranged items in groups that are not visible (#2062)
  55. - Fixed #2032: fixes BoxItem's initial width if content width is dynamic (#2035)
  56. - Use css styles instead of delete image (#2034)
  57. - Implemented #2014: weekday marks in other zoomlevel (#2016)
  58. - Fixed #1625: only use `shape.radius` if available (#2005)
  59. - Fixed incorrect documentation URL (#1998)
  60. - Added example for zoom functions (#1986)
  61. - Fixed #1156: Vertical scrolling when dragging (#1976)
  62. - Minor fix in docs (#1972)
  63. - Fixed handlebars example (#1946)
  64. - Fixed #1723: Problems in the time axis bar if using `hiddenDates` (#1944)
  65. - Timestep setMoment fix (#1932)
  66. - Fixed #1853: Content overflow (#1862)
  67. - Bugfix (#1822)
  68. - Fix right orientation axis for Graph2D (f516cb0)
  69. ### Graph3D
  70. - Minor improvements and major source restructuring (#2157, #2159, #2160, #2162, #2165, #2166, #2167, #2168, #2171, #2175, #2176, #2182, #2195, #2199, #2200, #2202, #2204, #2208, #2209, #2210, #2212, #2214, #2215, #2227, #2230)
  71. - Improvements for graph3d legend support (#1940)
  72. - Advanced Tooltips (#1884)
  73. ## 2016-04-18, version 4.16.1
  74. ### Timeline
  75. - Fixed #1786: Timeline having zero height on Internet Explorer, regression
  76. introduced after fixing #1697.
  77. ## 2016-04-07, version 4.16.0
  78. ### Timeline
  79. - Implemented rtl support. Thanks @yotamberk.
  80. - Fixed #1697: Timeline not drawn when used within the Angular.js directive.
  81. - Fixed #1774: Wrong initial scale when Timeline contains a single item.
  82. ### General
  83. - Created bundles for individual visualizations: `vis-graph3d.min.js`,
  84. `vis-network.min.js`, and `vis-timeline-graph2d.min.js`.
  85. ## 2016-03-08, version 4.15.1
  86. ## General
  87. - Updated all dependencies.
  88. ### Graph2d
  89. - Fixed #1455: allow vertical panning of the web page on touch devices.
  90. - Fixed #1692: Error when y-axis values are equal.
  91. ### Timeline
  92. - Fixed #1455: allow vertical panning of the web page on touch devices.
  93. - Fixed #1695: Item line and dot not correctly reckoning with the line width
  94. when using left or right align.
  95. - Fixed #1697: Timeline not drawn when used within the Angular.js directive.
  96. ## 2016-02-23, version 4.15.0
  97. ### Timeline
  98. - Implemented `currentTimeTick` event (see #1683).
  99. - Fixed #1630: method `getItemRange` missing in docs.
  100. ### Graph2d
  101. - Fixed #1630: method `getDataRange` was wrongly called `getItemRange` in docs.
  102. - Fixed #1655: use parseFloat instead of Number.parseFloat, as the latter is
  103. not supported in IE. Thanks @ttjoseph.
  104. ### Graph3d
  105. - Changed the built-in tooltip to show the provided `xLabel`, `yLabel`, and
  106. `zLabel` instead of `'x'`, `'y'`, and `'z'`. Thanks @jacklightbody.
  107. ### Network
  108. - Implemented interpolation option for interpolation of images, default true.
  109. - Implemented parentCentralization option for hierarchical layout.
  110. - Fixed #1635: edges are now referring to the correct points.
  111. - Fixed #1644, #1631: overlapping nodes in hierarchical layout should no longer occur.
  112. - Fixed #1575: fixed selection events
  113. - Fixed #1677: updating groups through manipulation now works as it should.
  114. - Fixed #1672: Implemented stepped scaling for nice interpolation of images.
  115. ## 2016-02-04, version 4.14.0
  116. ### Timeline
  117. - Fixed a regression: Timeline/Graph2d constructor throwing an exception when
  118. no options are provided via the constructor.
  119. ### Graph2d
  120. - Fixed a regression: Timeline/Graph2d constructor throwing an exception when
  121. no options are provided via the constructor.
  122. ### Graph3d
  123. - Fixed #1615: implemented new option `dotSizeRatio`.
  124. ## 2016-02-01, version 4.13.0
  125. ### Network
  126. - Added options to customize the hierarchical layout without the use of physics.
  127. - Altered edges for arrows and added the arrowStrikethrough option.
  128. - Improved the hierarchical layout algorithm by adding a condensing method to remove whitespace.
  129. - Fixed #1556: Network throwing an error when clicking the "Edit" button
  130. on the manipulation toolbar.
  131. - Fixed #1334 (again): Network now ignores scroll when interaction:zoomView is false.
  132. - Fixed #1588: destroy now unsubscribed from the dataset.
  133. - Fixed #1584: Navigation buttons broken.
  134. - Fixed #1596: correct clean up of manipulation dom elements.
  135. - Fixed #1594: bug in hierarchical layout.
  136. - Fixed #1597: Allow zero borders and addressed scaling artifacts.
  137. - Fixed #1608: Fixed wrong variable reference
  138. ### Timeline
  139. - Moved initial autoscale/fit method to an handler of the "changed" event.
  140. - Fixed #1580: Invisible timeline/graph should not be drawn, as most inputs are invalid
  141. - Fixed #1521: Prevent items from staying stuck to the left side of the viewport.
  142. - Fixed #1592: Emit a "changed" event after each redraw.
  143. - Fixed #1541: Timeline and Graph2d did not load synchronously anymore.
  144. ### Graph2d
  145. - Major redesign of data axis/scales, with large focus on creating a sane slave axis setup
  146. - Cleanup of linegraph's event handling.
  147. - Fixed #1585: Allow bar groups to exclude from stacking
  148. - Fixed #1580: Invisible timeline/graph should not be drawn, as most inputs are invalid
  149. - Fixed #1177: Fix custom range of slaved right axis.
  150. - Fixed #1592: Emit a "changed" event after each redraw.
  151. - Fixed #1017: Fixed minWidth behavior for bars.
  152. - Fixes #1557: Fix default axis formatting function.
  153. - Fixed #1541: Timeline and Graph2d did not load synchronously anymore.
  154. - Fixed a performance regression
  155. ## 2016-01-08, version 4.12.0
  156. ### Timeline
  157. - Fixed #1527: error when creating/updating a Timeline without data.
  158. - Fixed #1127: `doubleClick` event not being fired.
  159. - Fixed #1554: wrong cursor on readonly range items.
  160. ### Network
  161. - Fixed #1531, #1335: border distances for arrow positioning
  162. - Fixed findNode method. It now does not return internal objects anymore.
  163. - Fixed #1529, clustering and declustering now respects the original settings of the edges for physics and hidden.
  164. - Fixed #1406, control nodes are now drawn immediately without a second redraw.
  165. - Fixed #1404, made the array returned by findNode match the docs.
  166. - Added #1138, enable the user to define the color of the shadows for nodes and edges.
  167. - Fixed #1528, #1278, avoided ID's being cast to string for methods that return ID's as well as storePositions casting to string.
  168. - Fixed upscaling when the window size increases.
  169. - Accepted pull request #1544, thanks @felixhayashi!
  170. - Fixed documented bug in #1544.
  171. ## 2015-12-18, version 4.11.0
  172. ### Network
  173. - Expose `setSelection` method. Thanks @zefrog.
  174. ### Timeline
  175. - Fixed #1441: Height of subgroups not immediately updated after updating
  176. data in a DataSet or DataView.
  177. - Fixed #1491: Problem using ctrl+drag in combination with using a `DataView`,
  178. and an issue with ctrl+drag when using `snap: null`.
  179. - Fixed #1486: Item range sometimes wrongly calculated on IE in case of old dates.
  180. - Fixed #1523: end of data range wrongly determined.
  181. ### Graph2d
  182. - Large refactoring of Graph2d code base:
  183. - Implemented a new option for `shaded.orientation` to always shade towards zero.
  184. - Implemented a new option for `shaded.orientation` to follow another group (fill in between)
  185. - Implemented line-graph stacking
  186. - Fixed support for using a `DataView` in Graph2d.
  187. - Implemented a new zindex option for controlling svg rendering order.
  188. - Performance updates and fixes
  189. ### DataSet
  190. - Fixed #1487: DataSet cannot remove an item with id `0` correctly.
  191. ### DataView
  192. - Added the map() function from DataSet.
  193. ## 2015-11-27, version 4.10.0
  194. ### General
  195. - Fixed #1353: Custom bundling with browserify requiring manual installation
  196. of `babelify`.
  197. ### Network
  198. - Implemented new method `setSelection({nodes:[...], edges: [...]})`.
  199. Thanks @zefrog.
  200. - Fixed #1343: Connected edges are now deselected too when deselecting a node.
  201. - Fixed #1398: Support nodes start with the correct positions.
  202. - Fixed #1324: Labels now scale again.
  203. - Fixed #1362: Layout of hierarchicaly systems no longer overlaps NODES.
  204. - Fixed #1414: Fixed color references for nodes and edges.
  205. - Fixed #1408: Unclustering without release function respects fixed positions now.
  206. - Fixed #1358: Fixed example for clustering on zoom.
  207. - Fixed #1416: Fixed error in improvedLayout.
  208. - Improvements on hierarchical layout.
  209. ### Timeline
  210. - Implemented option `itemsAlwaysDraggable`, See #1395. Thanks @liuqingc.
  211. - Implemented option `multiselectPerGroup`. Thanks @hansmaulwurf23.
  212. - Implemented property `oldData` on change events of the DataSet, and
  213. deprecated the `data` property which wrongly contained new data instead of
  214. old data. Thanks @hansmaulwurf23.
  215. - Implemented option `maxMinorChars` to customize the width of the grid.
  216. - Expose `vis.timeline.Core` for customization purposes.
  217. - Fixed #1449, #1393: text of minor grids sometimes not being drawn.
  218. ### Graph2d
  219. - Fixed #1385: Draw lines on top of bars.
  220. - Fixed #1461 and #1345: Reset order of SVG elements in legend icons.
  221. ### DataSet/DataView
  222. - Performance improvements (see #1381). Thanks @phimimms.
  223. ## 2015-10-01, version 4.9.0
  224. ### Network
  225. - Fixed bug where an edge that was not connected would crash the layout algorithms.
  226. - Fixed bug where a box shape could not be drawn outside of the viewable area.
  227. - Fixed bug where dragging a node that is not a control node during edit edge mode would throw an error.
  228. - Made auto scaling on container size change pick the lowest between delta height and delta width.
  229. - Added images with borders option (useBorderWithImage)
  230. - Updated the manipulation css to fix offset if there is no separator.
  231. ### Timeline
  232. - Fixed #1326: wrongly positioned dot of PointItems.
  233. - Fixed #1249: option `hiddenDates` not accepting a single hidden date.
  234. - Fixed a bug when pinching and using hidden dates. Thanks @lauzierj.
  235. ## 2015-09-14, version 4.8.2
  236. ### Network
  237. - Fixed Phantom Edges during clustering.
  238. - Fixed scaling not doing anything to edges.
  239. - Fixed setting font to null so the network won't crash anymore.
  240. - Fixed stabilized event not firing if layout algorithm does very well.
  241. - Fixed arrows with some shapes when they are selected. #1292
  242. - Fixed deletion of options by settings them to null.
  243. ## 2015-09-07, version 4.8.1
  244. ### Network
  245. - Added German (de) locale. Thanks @Tooa.
  246. - Fixed critical camera zoom bug #1273.
  247. - Fixed unselectAll method. #1256
  248. - Fixed bug that broke the network if drawn in a hidden div #1254
  249. ### Timeline
  250. - Fixed #1215: inconsistent types of properties `start` and `end` in callback
  251. functions `onMove`, `onMoving`, `onAdd`.
  252. ## 2015-08-28, version 4.8.0
  253. ### Timeline
  254. - Implemented reordering groups by dragging them vertically. Thanks @hansmaulwurf23.
  255. ### Network
  256. - Added Spanish (es) locale. Thanks @gomezgoiri.
  257. - Added support for labels in edges and titles for both nodes and edges during gephi import.
  258. - Added KamadaKawai layout engine for improved initial layout.
  259. - Added Adaptive timestep to the physics solvers for increased performance during stabilization.
  260. - Added improvedLayout as experimental option for greatly improved stabilization times.
  261. - Added adaptiveTimestep as experimental option for greatly improved stabilization times.
  262. - Added support for Gephi directed edges, edge labels and titles.
  263. - Improved the positioning and CSS of the configurator and the color picker.
  264. - Greatly improved performance in clustering.
  265. - Made the network keep its 'view' during a change of the size of the container.
  266. - Fixed #1152, updating images now works.
  267. - Fixed cleaning up of nodes.
  268. - Fixed dynamic updating of label properties.
  269. - Fixed bugs in clustering algorithm.
  270. - Fixed find node return types.
  271. - 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.
  272. - Fixed getPositions return values.
  273. ## Graph2d
  274. - Implemented configuration option `excludeFromLegend`. Thanks @Bernd0.
  275. ## 2015-07-27, version 4.7.0
  276. ### Timeline
  277. - Fixed #192: Items keep their group offset while dragging items located in
  278. multiple groups. Thanks @Fice.
  279. - Fixed #1118: since v4.6.0, grid of time axis was wrongly positioned on some
  280. scales.
  281. ### Network
  282. - Added moveNode method.
  283. - Added cubic Bezier curves.
  284. ## 2015-07-22, version 4.6.0
  285. ### Timeline
  286. - Implemented #24: support for custom timezones, see configuration option `moment`.
  287. ### Graph2d
  288. - Implemented #24: support for custom timezones, see configuration option `moment`.
  289. ### Network
  290. - Fixed #1111, check if edges exist was not correct on update.
  291. - Fixed #1112, network now works in firefox on unix again.
  292. - Added #931, borderRadius in shapeProperties for the box shape.
  293. - Added #936, useImageSize for images and circularImages
  294. ## 2015-07-20, version 4.5.1
  295. ### Network
  296. - Fixed another clustering bug, phantom edges should be gone now.
  297. - Fixed disabling hierarchical layout.
  298. - Fixed delete button when using multiple selected items in manipulation system.
  299. ## 2015-07-17, version 4.5.0
  300. ### General
  301. - Docs have been greatly improved thanks to @felixhayashi! Thanks a lot!
  302. ### Network
  303. - Added shapeProperties, thanks @zukomgwili!
  304. - Added configChange event.
  305. - Properly fixed the _lockedRedraw method.
  306. - Fixed node resizing on dragging.
  307. - Fixed missing edges during clustering.
  308. - Fixed missing refresh of node data when changing hierarchical layout on the fly.
  309. - Fixed hover and blur events for edges.
  310. ### Graph3d
  311. - Fixed not changing `backgroundColor` when not provided in options. Thanks @ozydingo.
  312. ### Timeline
  313. - Implemented support for group templates (#996). Thanks @hansmaulwurf23.
  314. - Implemented option `zoomKey` for both Timeline and Graph2d (see #1082).
  315. Thanks @hansmaulwurf23.
  316. - Fixed #1076: Fixed possible overlap of minor labels text on the TimeAxis.
  317. - Fixed #1001: First element of group style being cut.
  318. - Fixed #1071: HTML contents of a group not cleared when the contents is updated.
  319. - Fixed #1033: Moved item data not updated in DataSet when using an asynchronous
  320. `onMove` handler.
  321. - Fixed #239: Do not zoom/move the window when the mouse is on the left panel
  322. with group labels.
  323. ## 2015-07-03, version 4.4.0
  324. ### General
  325. - Documentation now has breadcrums. Thanks @felixhayashi!
  326. ### Graph3d
  327. - Fixed #970: Implemented options `dataColor`, `axisColor`, and `gridColor`.
  328. ### Network
  329. - Fixed Hammerjs direction issue.
  330. - Fixed recursion error when node is fixed but has no position.
  331. - Fixed accidental redrawing during stabilization.
  332. - Fixed delete callbacks with null argument not showing toolbar afterwards.
  333. - Added zoom events from keyboard and navigation buttons.
  334. - No longer start stabilization with an empty node set.
  335. - Fixed #974 connecting static smooth and straight edges.
  336. - Improved handling of empty image field.
  337. - Fixed #987 proper cleaning of support nodes.
  338. - Fixed static smooth edges not fully working from every angle.
  339. - Fixed updating bounding box of nodes without drawing.
  340. - Fixed #1036, bug in lockedRedraw. Thanks @vges!
  341. - Added getDataset to all manipulation functions. Thanks @ericvandever!
  342. - Fixed #1039, icon now returns correct distance to border
  343. - Added blurEdge and hoverEdge events.
  344. - Added labelHighlightBold option to edges and nodes.
  345. - Added getOptionsFromConfigurator method.
  346. - Fixed extra edges in clustering.
  347. - Fixed cleaning up of clustering edges on declustering.
  348. - Made fit() method only look at visible nodes to get the range.
  349. ### Graph2d
  350. - Made graph2d more robust against string values in the y position.
  351. - Fixed bug where 0 axis was always in the automatically fitted range.
  352. - Added drawPoints.onRender. Thanks @mschallar!
  353. ### Timeline
  354. - Fixed cleaning up of items in subgroups, thanks @ChenMachluf!
  355. - Improved error notification with groups, thanks @skinkie!
  356. ## 2015-06-16, version 4.3.0
  357. ### General
  358. - Fixed #950: option `locales` broken in `Timeline`, `Graph2d`, and `Network`.
  359. - Fixed #964: `Timeline`, `Graph2d`, and `Network` not working on IE9.
  360. ### Graph2d
  361. - Fixed #942, #966: bug when data is empty.
  362. ### Timeline
  363. - Implemented `editable` option for individual items. Thanks @danbertolini.
  364. ### Network
  365. - Fixed dragStart event to give the correct node information.
  366. ## 2015-06-05, version 4.2.0
  367. ### General
  368. - Fixed #893, #911: the `clickToUse` option of Network, Graph2d, and Network
  369. was blocking click events in the web page.
  370. ### Timeline
  371. - Added axis orientation option `'none'`.
  372. - Added a property `event` to the properties emitted with the `select` event (see #923).
  373. - Improved function `fit()` to take into account the actual width of items.
  374. - Fixed #897: Timeline option `{snap: null}` did give a validation error.
  375. - Fixed #925: Event `timechanged` did not fire when mouse has been moved outside
  376. the timeline.
  377. ### Graph2D
  378. - Fixed #892, addressed any case in validator.
  379. - Fixed #898, lines are not taken into account for stacking.
  380. ### Network
  381. - Improved robustness against people molesting the Function.prototype.bind()
  382. - Fixed few functions including storePositions().
  383. - Added beginnings of unit testing for network.
  384. - Fixed #904, correctly parsing global font options now.
  385. - Fixed dataView support for storePositions.
  386. - Second click on node is no longer unselect.
  387. - Added releaseFunction to openCluster.
  388. - Fixed bug where the network could flicker when the pixelRatio is not integer.
  389. - Added enabled property to physics.
  390. - Fixed #927, dragStart event didn't contain node that was being dragged
  391. ## 2015-05-28, version 4.1.0
  392. ### Network
  393. - Fixed #866, manipulation can now be set to false without crashing.
  394. - Fixed #860, edit node mode now works as it should.
  395. - Fixed #859, images now resize again when they are loaded.
  396. - Fixed dynamic edges not correctly handling non-existent nodes.
  397. - Accepted pull from @killerDJO for fixing selected and hover colors for edges.
  398. - Fixed bug with right mouse button, scroll center and popup positions using the wrong coordinates.
  399. - Fixed click to use.
  400. - Fixed getConnectedEdges method.
  401. - Fixed clustering bug.
  402. - Added getNodesInCluster method.
  403. - Renamed editNodeMode to editNode, editNodeMode now give a deprecation log message.
  404. - Added multiselect to the docs.
  405. - Removed deprecated dynamic entree, allow any smooth curve style for hierarchical layout.
  406. - Fixed bug with the moveTo and getViewPosition methods.
  407. - Fixed #861, brokenImage only working for one node if nodes have the same image.
  408. - Fixed hoverNode and blurNode events and added them to the docs.
  409. - Fixed #884, selectNode event.
  410. - Fixed dynamic setting hidden and physics.
  411. - Fixed edit node mode's fallback.
  412. ### Graph2d & Timeline
  413. - Fixed #858, #872, fixed usage of deprecated `unsubscribe` from DataSet.
  414. - Fixed #869: Add className with id to custom time bars
  415. - Fixed #877: Added support for metaKey to select multiple items.
  416. ## 2015-05-22, version 4.0.0
  417. ### General
  418. - Changed the build scripts to include a transpilation of ES6 to ES5
  419. (using http://babel.org), so we can use ES6 features in the vis.js code.
  420. When creating a custom bundle using browserify, one now needs to add a
  421. transform step using `babelify`, this is described in README.md.
  422. ### Timeline
  423. - Integrated an option configurator and validator.
  424. - Implemented option `multiselect`, which is false by default.
  425. - Added method `setData({groups: groups, items: items})`.
  426. - Fixed range items not being displayed smaller than 10 pixels (twice the
  427. padding). In order to have overflowing text, one should now apply css style
  428. `.vis.timeline .item.range { overflow: visible; }` instead of
  429. `.vis.timeline .item.range .content { overflow: visible; }`.
  430. See example 18_range_overflow.html.
  431. - Fixed invalid css names for time axis grid, renamed hours class names from
  432. `4-8h` to `h4-h8`.
  433. - Deprecated option `showCustomTime`. Use method `addCustomTime()` instead.
  434. - Deprecated event `finishedRedraw` as it's redundant.
  435. - Renamed option `animate` to `animation`, and changed it to be either a boolean
  436. or an object `{duration: number, easingFunction: string}`.
  437. - Fixed #831: items losing selection when their type changed.
  438. ### Graph2d
  439. - New option structure.
  440. - Cleaned up docs.
  441. - Fixed #628: stacking order.
  442. - Fixed #624: sorting order.
  443. - Fixed #616: stacking with negative bars.
  444. - Fixed #728: alignment issues.
  445. - Fixed #716: Height of graph `2px` too large when configuring a fixed height.
  446. ### Network
  447. The network has been completely rewritten. The new modular setup using ES6 classes makes
  448. it future proof for maintainability, extendability and clarity. A summary of new features:
  449. - New examples, categorized by topic.
  450. - New docs.
  451. - New option structure, adhering to the modular setup on the backend.
  452. - New events for user interaction.
  453. - New render events for drawing custom elements on the canvas.
  454. - New physics events for making a loading bar during stabilization.
  455. - A lot of new methods that make extending easier.
  456. - Manipulation system now works without the UI neccesarily.
  457. - Nodes and edges can cast shadows.
  458. - Configurator system to dynamically change almost all options.
  459. - Validator has been created for the network's options, warning you about typo's and suggesting alternatives.
  460. - Diamond shape for nodes.
  461. - Unified the label code so edges and nodes have the same label settings.
  462. - InheritColors for edges can be set to both, making a gradient fade between two node colors.
  463. - Redesigned the clustering system giving full control over it.
  464. - Random seed can be saved so the network will be the same every time you start it.
  465. - New physics solver based on ForceAtlas2 as implemented in gephi.]
  466. - New avoidOverlap option for physics.
  467. - Many, many bugfixes.
  468. ### DataSet
  469. - Dropped support for Google visualization DataTable.
  470. - Dropped support for appending data returned by `DataSet.get()` to an existing
  471. Array or DataTable.
  472. ## 2015-04-07, version 3.12.0
  473. ### Network
  474. - Fixed support for DataSet with custom id fields (option `fieldId`).
  475. ### Timeline
  476. - Orientation can now be configured separately for axis and items.
  477. - The event handlers `onMove` and `onMoving` are now invoked with all item
  478. properties as argument, and can be used to update all properties (like
  479. content, className, etc) and add new properties as well.
  480. - Fixed #654: removed unnecessary minimum height for groups, takes the
  481. height of the group label as minimum height now.
  482. - Fixed #708: detecting wrong group when page is scrolled.
  483. - Fixed #733: background items being selected on shift+click.
  484. ## 2015-03-05, version 3.11.0
  485. ### Network
  486. - (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options)
  487. - Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
  488. - 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.
  489. - Added two new static smooth curves modes: curveCW and curve CCW.
  490. - Added request redraw for certain internal processes to reduce number of draw calls (performance improvements!).
  491. - Added pull request for usage of Icons. Thanks @Dude9177!
  492. - Allow hierarchical view to be set in setOptions.
  493. - Fixed manipulation bar for mobile.
  494. - Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView.
  495. - Fixed #688: Added a css class to be able to distinguish buttons "Edit node"
  496. and "Edit edge".
  497. ### Timeline
  498. - Implemented orientation option `'both'`, displaying a time axis both on top
  499. and bottom (#665).
  500. - Implemented creating new range items by dragging in an empty space with the
  501. ctrl key down.
  502. - Implemented configuration option `order: function` to define a custom ordering
  503. for the items (see #538, #234).
  504. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  505. - Implemented method `getEventProperties(event)`.
  506. - Fixed not property initializing with a DataView for groups.
  507. - Merged add custom timebar functionality, thanks @aytech!
  508. - Fixed #664: end of item not restored when canceling a move event.
  509. - Fixed #609: reduce the left/right dragarea when an item range is very small,
  510. so you can still move it as a whole.
  511. - Fixed #676: misalignment of background items when using subgroups and the
  512. group label's height is larger than the contents.
  513. ### Graph2d
  514. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  515. - Implemented method `getEventProperties(event)`.
  516. ### DataSet/DataView
  517. - Implemented support for mapping field names. Thanks @spatialillusions.
  518. - Fixed #670: DataView not passing a data property on update events (see #670)
  519. ## 2015-02-11, version 3.10.0
  520. ### Network
  521. - Added option bindToWindow (default true) to choose whether the keyboard binds are global or to the network div.
  522. - Improved images handling so broken images are shown on all references of images that are broken.
  523. - Added getConnectedNodes method.
  524. - Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to Nodes.
  525. - Added fade in of labels (on nodes) near the fontDrawThreshold.
  526. - Added nodes option to zoomExtent to zoom in on specific set of nodes.
  527. - Added stabilizationIterationsDone event which fires at the end of the internal stabilization run. Does not imply that the network is stabilized.
  528. - Added freezeSimulation method.
  529. - Added clusterByZoom option.
  530. - Added class name 'network-tooltip' to the tooltip, allowing custom styling.
  531. - Fixed bug when redrawing was not right on zoomed-out browsers.
  532. - Added opacity option to edges. Opacity is only used for the unselected state.
  533. - Fixed bug where selections from removed data elements persisted.
  534. ### Timeline
  535. - `Timeline.redraw()` now also recalculates the size of items.
  536. - Implemented option `snap: function` to customize snapping to nice dates
  537. when dragging items.
  538. - Implemented option `timeAxis: {scale: string, step: number}` to set a
  539. fixed scale.
  540. - Fixed width of range items not always being maintained when moving due to
  541. snapping to nice dates.
  542. - Fixed not being able to drag items to an other group on mobile devices.
  543. - Fixed `setWindow` not working when applying an interval larger than the
  544. configured `zoomMax`.
  545. ### DataSet/DataView
  546. - Added property `length` holding the total number of items to the `DataSet`
  547. and `DataView`.
  548. - Added a method `refresh()` to the `DataView`, to update filter results.
  549. - Fixed a bug in the `DataSet` returning an empty object instead of `null` when
  550. no item was found when using both a filter and specifying fields.
  551. ## 2015-01-16, version 3.9.1
  552. ### General
  553. - Fixed wrong distribution file deployed on the website and the downloadable
  554. zip file.
  555. ### Network
  556. - Fixed bug where opening a cluster with smoothCurves off caused one child to go crazy.
  557. - Fixed bug where zoomExtent does not work as expected.
  558. - Fixed nodes color data being overridden when having a group and a dataset update query.
  559. - Decoupled animation from physics simulation.
  560. - Fixed scroll being blocked if zoomable is false.
  561. ## 2015-01-16, version 3.9.0
  562. ### Network
  563. - Reverted change in image class, fixed bug #552
  564. - Improved (not neccesarily fixed) the fontFill offset between different browsers. #365
  565. - Fixed dashed lines on firefox on Unix systems
  566. - Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();
  567. - Improved drawing of arrowheads on smooth curves. #349
  568. - Caught case where click originated on external DOM element and drag progressed to vis.
  569. - Added label stroke support to Nodes, Edges & Groups as per-object or global settings. Thank you @klmdb!
  570. - 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.
  571. - Made the node/edge selected by the popup system the same as selected by the click-to-select system. Thank you @pavlos256!
  572. - Improved edit edge control nodes positions, altered style a little.
  573. - Fixed issue #564 by resetting state to initial when no callback is performed in the return function.
  574. - Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.
  575. - Added labelAlignment option to edges. Thanks @T-rav!
  576. - Close active sessions in dataManipulation when calling setData().
  577. - Fixed alignment issue with edgelabels
  578. ### Timeline
  579. - Added byUser flag to options of the rangechange and rangechanged event.
  580. ## 2015-01-09, version 3.8.0
  581. ### General
  582. - Updated to moment.js v2.9.0
  583. ### Network
  584. - Fixed flipping of hierarchical network on update when using RL and DU.
  585. - Added zoomExtentOnStabilize option to network.
  586. - Improved destroy function, added them to the examples.
  587. - Nodes now have bounding boxes that are used for zoomExtent.
  588. - Made physics more stable (albeit a little slower).
  589. - Added a check so only one 'activator' overlay is created on clickToUse.
  590. - Made global color options for edges overrule the inheritColors.
  591. - Improved cleaning up of the physics configuration on destroy and in options.
  592. - Made nodes who lost their group revert back to default color.
  593. - Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
  594. - Fixed bug where box shaped nodes did not use hover color.
  595. - Fixed Locales docs.
  596. - 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.
  597. - Fixed error in repulsion physics model.
  598. - Improved physics handling for smoother network simulation.
  599. - Fixed infinite loop when an image can not be found and no brokenImage is provided.
  600. - Added getBoundingBox method.
  601. - Community fix for SVG images in IE11, thanks @dponch!
  602. - Fixed repeating stabilized event when the network is already stabilized.
  603. - Added circularImages, thanks for the contribution @brendon1982!
  604. - Stopped infinite loop when brokenImage is also not available.
  605. - Changed util color functions so they don't need eval. Thanks @naskooskov!
  606. ### Graph2d
  607. - Fixed round-off errors of zero on the y-axis.
  608. - added show major/minor lines options to dataAxis.
  609. - Fixed adapting to width and height changes.
  610. - Added a check so only one 'activator' overlay is created on clickToUse.
  611. - DataAxis width option now draws correctly.
  612. ### Timeline
  613. - Implemented support for styling of the vertical grid.
  614. - Support for custom date formatting of the labels on the time axis.
  615. - added show major/minor lines options to timeline.
  616. - Added a check so only one 'activator' overlay is created on clickToUse.
  617. ### Graph3d
  618. - Fixed mouse coordinates for tooltips.
  619. ## 2014-12-09, version 3.7.2
  620. ### Timeline
  621. - Fixed zooming issue on mobile devices.
  622. ### Graph2D
  623. - Fixed infinite loop when clearing DataSet
  624. ### Network
  625. - Sidestepped double touch event from hammer (ugly.. but functional) causing
  626. strange behaviour in manipulation mode
  627. - Better cleanup after reconnecting edges in manipulation mode
  628. - Fixed recursion error with smooth edges that are connected to non-existent nodes
  629. - Added destroy method.
  630. ## 2014-11-28, version 3.7.1
  631. ### Timeline
  632. - Implemented selection of a range of items using Shift+Click.
  633. - Fixed content in range items may overflow range after zoom.
  634. - Fixed onAdd/onUpdate callbacks when using a DataView (thanks @motzel).
  635. - Fixed configuring either `start` or `end`.
  636. - Fixed Timeline and Graph2d getting stuck in an infinite loop in some
  637. circumstances.
  638. - Fixed background items being selectable and editable when a height is set.
  639. ### Graph2D
  640. - Added `alignZeros` option to dataAxis with default value true.
  641. - Fixed bug with points drawn on bargraphs
  642. - Fixed docs
  643. - Fixed height increase on scrolling if only `graphHeight` is defined.
  644. ### Network
  645. - dragEnd event now does not give the selected nodes if only the viewport has been dragged #453
  646. - merged high DPI fix by @crubier, thanks!
  647. ## 2014-11-14, version 3.7.0
  648. ### Graph2D
  649. - Added points style for scatterplots and pointclouds.
  650. - Modularized the Graph2D draw styles.
  651. - Added a finishedRedraw event.
  652. ### Network
  653. - Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
  654. - Removed IDs from navigation so multiple networks can be shown on the same page. (#438)
  655. ### Timeline
  656. - Added a finishedRedraw event.
  657. - Fixed the disappearing item bug.
  658. - Fixed keycharm issue.
  659. ## 2014-11-07, version 3.6.4
  660. ### General
  661. - Removed mousetrap due to Apache license, created keycharm and implemented it with vis.
  662. ### Timeline
  663. - Fixed height of background items when having a fixed or max height defined.
  664. - Fixed only one item being dragged when multiple items are selected.
  665. - Optimised a serious slowdown on performance since hidden dates.
  666. ### Network
  667. - Fixed onRelease with navigation option.
  668. - Fixed arrow heads not being colored.
  669. ### Graph2D
  670. - Fixed cleaning up of groups.
  671. - Throw error message when items are added before groups.
  672. - Made graphHeight automatic if height is defined AND if graphHeight is smaller than the center panel when height is defined as well.
  673. - Added new verticalDrag event for internal use, allowing the vertical scrolling of the grid lines on drag.
  674. - Fixed moving legend when postioned on the bottom and vertical dragging.
  675. - Optimised a serious slowdown on performance since hidden dates.
  676. - Accepted a large pull request from @cdjackson adding the following features (thank you!):
  677. - Titles on the DataAxis to explain what units you are using.
  678. - A style field for groups and datapoints so you can dynamically change styles.
  679. - A precision option to manually set the amount of decimals.
  680. - Two new examples showing the new features.
  681. ## 2014-10-28, version 3.6.3
  682. ### Timeline
  683. - Fixed background items not always be cleared when removing them.
  684. - Fixed visible items not always be displayed.
  685. - Performance improvements when doing a lot of changes at once in a DataSet.
  686. ### Network
  687. - Fixed dashed and arrow lines not using inheritColor.
  688. ### DataSet
  689. - Support for queueing of changes, and flushing them at once.
  690. - Implemented `DataSet.setOptions`. Only applicable for the `queue` options.
  691. ## 2014-10-24, version 3.6.2
  692. - Vis.js is now dual licensed under both Apache 2.0 and MIT.
  693. ## 2014-10-22, version 3.6.1
  694. ### Timeline
  695. - Fixed uneven stepsized with hidden dates.
  696. - Fixed multiple bugs with regards to hidden dates.
  697. - Fixed subgroups and added subgroup sorting. Subgroup labels will be in future releases.
  698. ## 2014-10-21, version 3.6.0
  699. ### Network
  700. - Title of nodes and edges can now be an HTML element too.
  701. - Renamed storePosition to storePositions. Added deprecation message and old name still works.
  702. - Worked around hammer.js bug with multiple release listeners.
  703. - Improved cleaning up after manipulation toolbar.
  704. - Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
  705. - Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
  706. - Fixed node label becoming undefined.
  707. - Fixed cluster fontsize scaling.
  708. - Fixed cluster sector scaling.
  709. - Added oldHeight and oldWidth to resize event.
  710. ### Timeline
  711. - Implemented field `style` for both items and groups, to set a custom style for
  712. individual items.
  713. - Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
  714. - Fixed width of BackgroundItems not being reduced to 0 when zooming out.
  715. - Fixed onclick events in items not working.
  716. - Added hiddenDates to hide specific times and/or days in the timeline.
  717. ### DataSet
  718. - Event listeners of `update` now receive an extra property `data`,
  719. containing the changed fields of the changed items.
  720. ### Graph2d
  721. - Fixed height of legend when there are many items showing.
  722. ### Graph3d
  723. - Implemented options `xValueLabel`, `yValueLabel` and `zValueLabel` for custom labels along
  724. the x, y, z axis. Thanks @fabriziofortino.
  725. ## 2014-09-16, version 3.5.0
  726. ### Network
  727. - Fixed nodes not always being unfixed when using allowedToMove.
  728. - Added dragStart and dragEnd events.
  729. - Added edge selection on edge labels.
  730. ### Graph2d
  731. - Fixed dataAxis not showing large numbers correctly.
  732. ## 2014-09-12, version 3.4.2
  733. ### Network
  734. - Changed timings for zoomExtent animation.
  735. - Fixed possible cause of freezing graph when animating.
  736. - Added locked to focusOnNode and releaseNode().
  737. - Fixed minor bug in positioning of fontFill of nodes with certain shapes.
  738. - Added startStabilization event.
  739. ## 2014-09-11, version 3.4.1
  740. ### Network
  741. - Fix for introduced bug on zoomExtent navigation button.
  742. - Added animation to zoomExtent navigation button.
  743. - Improved cleaning of Hammer.js bindings.
  744. ### Timeline
  745. - Fixed a bug in IE freezing when margin.item and margin.axis where both 0.
  746. ## 2014-09-10, version 3.4.0
  747. ### Graph2d
  748. - Fixed moment.js url in localization example.
  749. ### Network
  750. - Fixed some positioning issues with the close button of the manipulation menu.
  751. - Added fontFill to Nodes as it is in Edges.
  752. - Implemented support for broken image fallback. Thanks @sfairgrieve.
  753. - Added multiline labels to edges as they are implemented in nodes. Updated
  754. multiline example to show this.
  755. - Added animation and camera controls by the method .moveTo()
  756. - Added new event that fires when the animation is finished.
  757. - Added new example showing the new features of animation.
  758. - Added getScale() method.
  759. ### Timeline
  760. - Implemented support for templates.
  761. - Implemented a new item type: `'background'`. This can be used to mark periods
  762. with a background color and label.
  763. - Implemented support for attaching HTML attributes to items. Thanks @dturkenk.
  764. - Fixed moment.js url in localization example.
  765. - Fixed `className` of groups not being updated when changed.
  766. - Fixed the `id` field of a new item not correctly generated.
  767. - Fixed newly added item ignored when returning an other object instance.
  768. - Fixed option `autoResize` not working on IE in case of changing visibility
  769. of the Timeline container element.
  770. - Fixed an overflow issue with the dots of BoxItems when using groups.
  771. - Fixed a horizontal 1-pixel offset in the items (border width wasn't taken into
  772. account).
  773. - Renamed internal items from `ItemBox`, `ItemRange`, and `ItemPoint` to
  774. respectively `BoxItem`, `RangeItem`, and `PointItem`.
  775. - Fixed an error thrown when calling `destroy()`.
  776. ## 2014-08-29, version 3.3.0
  777. ### Timeline
  778. - Added localization support.
  779. - Implemented option `clickToUse`.
  780. - Implemented function `focus(id)` to center a specific item (or multiple items)
  781. on screen.
  782. - Implemented an option `focus` for `setSelection(ids, options)`, to immediately
  783. focus selected nodes.
  784. - Implemented function `moveTo(time, options)`.
  785. - Implemented animated range change for functions `fit`, `focus`, `setSelection`,
  786. and `setWindow`.
  787. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  788. - Implemented a new callback function `onMoving(item, callback)`.
  789. - Implemented support for option `align` for range items.
  790. - Fixed the `change` event sometimes being fired twice on IE10.
  791. - Fixed canceling moving an item to another group did not move the item
  792. back to the original group.
  793. - Fixed the `change` event sometimes being fired twice on IE10.
  794. - Fixed canceling moving an item to another group did not move the item
  795. back to the original group.
  796. ### Network
  797. - A fix in reading group properties for a node.
  798. - Fixed physics solving stopping when a support node was not moving.
  799. - Implemented localization support.
  800. - Implemented option `clickToUse`.
  801. - Improved the `stabilized` event, it's now firing after every stabilization
  802. with iteration count as parameter.
  803. - Fixed page scroll event not being blocked when moving around in Network
  804. using arrow keys.
  805. - Fixed an initial rendering before the graph has been stabilized.
  806. - Fixed bug where loading hierarchical data after initialization crashed network.
  807. - Added different layout method to the hierarchical system based on the direction of the edges.
  808. ### Graph2d
  809. - Implemented option `handleOverlap` to support overlap, sideBySide and stack.
  810. - Implemented two examples showing the `handleOverlap` functionality.
  811. - Implemented `customRange` for the Y axis and an example showing how it works.
  812. - Implemented localization support.
  813. - Implemented option `clickToUse`.
  814. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  815. - Implemented function `moveTo(time, options)`.
  816. - Fixed bugs.
  817. - Added groups.visibility functionality and an example showing how it works.
  818. ## 2014-08-14, version 3.2.0
  819. ### General
  820. - Refactored Timeline and Graph2d to use the same core.
  821. ### Graph2d
  822. - Added `visible` property to the groups.
  823. - Added `getLegend()` method.
  824. - Added `isGroupVisible()` method.
  825. - Fixed empty group bug.
  826. - Added `fit()` and `getItemRange()` methods.
  827. ### Timeline
  828. - Fixed items in groups sometimes being displayed but not positioned correctly.
  829. - Fixed a group "null" being displayed in IE when not using groups.
  830. ### Network
  831. - Fixed mass = 0 for nodes.
  832. - 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.
  833. - Disabled inheritColor when color information is set on an edge.
  834. - Tweaked examples.
  835. - 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.
  836. - Removed global edge length definition form examples.
  837. - Removed onclick and onrelease for navigation and switched to Hammer.js (fixing touchscreen interaction with navigation).
  838. - Fixed error on adding an edge without having created the nodes it should be connected to (in the case of dynamic smooth curves).
  839. ## 2014-07-22, version 3.1.0
  840. ### General
  841. - Refactored the code to commonjs modules, which are browserifyable. This allows
  842. to create custom builds.
  843. ### Timeline
  844. - Implemented function `getVisibleItems()`, which returns the items visible
  845. in the current window.
  846. - Added options `margin.item.horizontal` and `margin.item.vertical`, which
  847. allows to specify different margins horizontally/vertically.
  848. - Removed check for number of arguments in callbacks `onAdd`, `onUpdate`,
  849. `onRemove`, and `onMove`.
  850. - Fixed items in groups sometimes being displayed but not positioned correctly.
  851. - Fixed range where the `end` of the first is equal to the `start` of the second
  852. sometimes being stacked instead of put besides each other when `item.margin=0`
  853. due to round-off errors.
  854. ### Network (formerly named Graph)
  855. - Expanded smoothCurves options for improved support for large clusters.
  856. - Added multiple types of smoothCurve drawing for greatly improved performance.
  857. - Option for inherited edge colors from connected nodes.
  858. - Option to disable the drawing of nodes or edges on drag.
  859. - Fixed support nodes not being cleaned up if edges are removed.
  860. - Improved edge selection detection for long smooth curves.
  861. - Fixed dot radius bug.
  862. - Updated max velocity of nodes to three times it's original value.
  863. - Made "stabilized" event fire every time the network stabilizes.
  864. - Fixed drift in dragging nodes while zooming.
  865. - Fixed recursively constructing of hierarchical layouts.
  866. - Added borderWidth option for nodes.
  867. - Implemented new Hierarchical view solver.
  868. - Fixed an issue with selecting nodes when the web page is scrolled down.
  869. - Added Gephi JSON parser
  870. - Added Neighbour Highlight example
  871. - Added Import From Gephi example
  872. - Enabled color parsing for nodes when supplied with rgb(xxx,xxx,xxx) value.
  873. ### DataSet
  874. - Added .get() returnType option to return as JSON object, Array or Google
  875. DataTable.
  876. ## 2014-07-07, version 3.0.0
  877. ### Timeline
  878. - Implemented support for displaying a `title` for both items and groups.
  879. - Fixed auto detected item type being preferred over the global item `type`.
  880. - Throws an error when constructing without new keyword.
  881. - Removed the 'rangeoverflow' item type. Instead, one can use a regular range
  882. and change css styling of the item contents to:
  883. .vis.timeline .item.range .content {
  884. overflow: visible;
  885. }
  886. - Fixed the height of background and foreground panels of groups.
  887. - Fixed ranges in the Timeline sometimes overlapping when dragging the Timeline.
  888. - Fixed `DataView` not working in Timeline.
  889. ### Network (formerly named Graph)
  890. - Renamed `Graph` to `Network` to prevent confusion with the visualizations
  891. `Graph2d` and `Graph3d`.
  892. - Renamed option `dragGraph` to `dragNetwork`.
  893. - Now throws an error when constructing without new keyword.
  894. - Added pull request from Vukk, user can now define the edge width multiplier
  895. when selected.
  896. - Fixed `graph.storePositions()`.
  897. - Extended Selection API with `selectNodes` and `selectEdges`, deprecating
  898. `setSelection`.
  899. - Fixed multiline labels.
  900. - Changed hierarchical physics solver and updated docs.
  901. ### Graph2d
  902. - Added first iteration of the Graph2d.
  903. ### Graph3d
  904. - Now throws an error when constructing without new keyword.
  905. ## 2014-06-19, version 2.0.0
  906. ### Timeline
  907. - Implemented function `destroy` to neatly cleanup a Timeline.
  908. - Implemented support for dragging the timeline contents vertically.
  909. - Implemented options `zoomable` and `moveable`.
  910. - Changed default value of option `showCurrentTime` to true.
  911. - Internal refactoring and simplification of the code.
  912. - Fixed property `className` of groups not being applied to related contents and
  913. background elements, and not being updated once applied.
  914. ### Graph
  915. - Reduced the timestep a little for smoother animations.
  916. - Fixed dataManipulation.initiallyVisible functionality (thanks theGrue).
  917. - Forced typecast of fontSize to Number.
  918. - Added editing of edges using the data manipulation toolkit.
  919. ### DataSet
  920. - Renamed option `convert` to `type`.
  921. ## 2014-06-06, version 1.1.0
  922. ### Timeline
  923. - Select event now triggers repeatedly when selecting an already selected item.
  924. - Renamed `Timeline.repaint()` to `Timeline.redraw()` to be consistent with
  925. the other visualisations of vis.js.
  926. - Fixed `Timeline.clear()` not resetting a configured `options.start` and
  927. `options.end`.
  928. ### Graph
  929. - Fixed error with zero nodes with hierarchical layout.
  930. - Added focusOnNode function.
  931. - Added hover option.
  932. - Added dragNodes option. Renamed movebale to dragGraph option.
  933. - Added hover events (hoverNode, blurNode).
  934. ### Graph3D
  935. - Ported Graph3D from Chap Links Library.
  936. ## 2014-05-28, version 1.0.2
  937. ### Timeline
  938. - Implemented option `minHeight`, similar to option `maxHeight`.
  939. - Implemented a method `clear([what])`, to clear items, groups, and configuration
  940. of a Timeline instance.
  941. - Added function `repaint()` to force a repaint of the Timeline.
  942. - Some tweaks in snapping dragged items to nice dates.
  943. - Made the instance of moment.js packaged with vis.js accessibly via `vis.moment`.
  944. - A newly created item is initialized with `end` property when option `type`
  945. is `"range"` or `"rangeoverflow"`.
  946. - Fixed a bug in replacing the DataSet of groups via `Timeline.setGroups(groups)`.
  947. - Fixed a bug when rendering the Timeline inside a hidden container.
  948. - Fixed axis scale being determined wrongly for a second Timeline in a single page.
  949. ### Graph
  950. - Added zoomable and moveable options.
  951. - Changes setOptions to avoid resetting view.
  952. - Interchanged canvasToDOM and DOMtoCanvas to correspond with the docs.
  953. ## 2014-05-09, version 1.0.1
  954. ### Timeline
  955. - Fixed width of items with type `rangeoverflow`.
  956. - Fixed a bug wrongly rendering invisible items after updating them.
  957. ### Graph
  958. - Added coordinate conversion from DOM to Canvas.
  959. - Fixed bug where the graph stopped animation after settling in playing with physics.
  960. - Fixed bug where hierarchical physics properties were not handled.
  961. - Added events for change of view and zooming.
  962. ## 2014-05-02, version 1.0.0
  963. ### Timeline
  964. - Large refactoring of the Timeline, simplifying the code.
  965. - Great performance improvements.
  966. - Improved layout of box-items inside groups.
  967. - Items can now be dragged from one group to another.
  968. - Implemented option `stack` to enable/disable stacking of items.
  969. - Implemented function `fit`, which sets the Timeline window such that it fits
  970. all items.
  971. - Option `editable` can now be used to enable/disable individual manipulation
  972. actions (`add`, `updateTime`, `updateGroup`, `remove`).
  973. - Function `setWindow` now accepts an object with properties `start` and `end`.
  974. - Fixed option `autoResize` forcing a repaint of the Timeline with every check
  975. rather than when the Timeline is actually resized.
  976. - Fixed `select` event fired repeatedly when clicking an empty place on the
  977. Timeline, deselecting selected items).
  978. - Fixed initial visible window in case items exceed `zoomMax`. Thanks @Remper.
  979. - Fixed an offset in newly created items when using groups.
  980. - Fixed height of a group not reckoning with the height of the group label.
  981. - Option `order` is now deprecated. This was needed for performance improvements.
  982. - More examples added.
  983. - Minor bug fixes.
  984. ### Graph
  985. - Added recalculate hierarchical layout to update node event.
  986. - Added arrowScaleFactor to scale the arrows on the edges.
  987. ### DataSet
  988. - A DataSet can now be constructed with initial data, like
  989. `new DataSet(data, options)`.
  990. ## 2014-04-18, version 0.7.4
  991. ### Graph
  992. - Fixed IE9 bug.
  993. - Style fixes.
  994. - Minor bug fixes.
  995. ## 2014-04-16, version 0.7.3
  996. ### Graph
  997. - Fixed color bug.
  998. - Added pull requests from kannonboy and vierja: tooltip styling, label fill
  999. color.
  1000. ## 2014-04-09, version 0.7.2
  1001. ### Graph
  1002. - Fixed edge select bug.
  1003. - Fixed zoom bug on empty initialization.
  1004. ## 2014-03-27, version 0.7.1
  1005. ### Graph
  1006. - Fixed edge color bug.
  1007. - Fixed select event bug.
  1008. - Clarified docs, stressing importance of css inclusion for correct display of
  1009. navigation an manipulation icons.
  1010. - Improved and expanded playing with physics (configurePhysics option).
  1011. - Added highlights to navigation icons if the corresponding key is pressed.
  1012. - Added freezeForStabilization option to improve stabilization with cached
  1013. positions.
  1014. ## 2014-03-07, version 0.7.0
  1015. ### Graph
  1016. - Changed navigation CSS. Icons are now always correctly positioned.
  1017. - Added stabilizationIterations option to graph.
  1018. - Added storePosition() method to save the XY positions of nodes in the DataSet.
  1019. - Separated allowedToMove into allowedToMoveX and allowedToMoveY. This is
  1020. required for initializing nodes from hierarchical layouts after
  1021. storePosition().
  1022. - Added color options for the edges.
  1023. ## 2014-03-06, version 0.6.1
  1024. ### Graph
  1025. - Bugfix graphviz examples.
  1026. - Bugfix labels position for smooth curves.
  1027. - Tweaked graphviz example physics.
  1028. - Updated physics documentation to stress importance of configurePhysics.
  1029. ### Timeline
  1030. - Fixed a bug with options `margin.axis` and `margin.item` being ignored when
  1031. setting them to zero.
  1032. - Some clarifications in the documentation.
  1033. ## 2014-03-05, version 0.6.0
  1034. ### Graph
  1035. - Added Physics Configuration option. This makes tweaking the physics system to
  1036. suit your needs easier.
  1037. - Click and doubleClick events.
  1038. - Initial zoom bugfix.
  1039. - Directions for Hierarchical layout.
  1040. - Refactoring and bugfixes.
  1041. ## 2014-02-20, version 0.5.1
  1042. - Fixed broken bower module.
  1043. ## 2014-02-20, version 0.5.0
  1044. ### Timeline
  1045. - Editable Items: drag items, add new items, update items, and remove items.
  1046. - Implemented options `selectable`, `editable`.
  1047. - Added events `timechange` and `timechanged` when dragging the custom time bar.
  1048. - Multiple items can be selected using ctrl+click or shift+click.
  1049. - Implemented functions `setWindow(start, end)` and `getWindow()`.
  1050. - Fixed scroll to zoom not working on IE in standards mode.
  1051. ### Graph
  1052. - Editable nodes and edges: create, update, and remove them.
  1053. - Support for smooth, curved edges (on by default).
  1054. - Performance improvements.
  1055. - Fixed scroll to zoom not working on IE in standards mode.
  1056. - Added hierarchical layout option.
  1057. - Overhauled physics system, now using Barnes-Hut simulation by default. Great
  1058. performance gains.
  1059. - Modified clustering system to give better results.
  1060. - Adaptive performance system to increase visual performance (60fps target).
  1061. ### DataSet
  1062. - Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.
  1063. ## 2014-01-31, version 0.4.0
  1064. ### Timeline
  1065. - Implemented functions `on` and `off` to create event listeners for events
  1066. `rangechange`, `rangechanged`, and `select`.
  1067. - Implemented function `select` to get and set the selected items.
  1068. - Items can be selected by clicking them, muti-select by holding them.
  1069. - Fixed non working `start` and `end` options.
  1070. ### Graph
  1071. - Fixed longstanding bug in the force calculation, increasing simulation
  1072. stability and fluidity.
  1073. - Reworked the calculation of the Graph, increasing performance for larger
  1074. datasets (up to 10x!).
  1075. - Support for automatic clustering in Graph to handle large (>50000) datasets
  1076. without losing performance.
  1077. - Added automatic initial zooming to Graph, to more easily view large amounts
  1078. of data.
  1079. - Added local declustering to Graph, freezing the simulation of nodes outside
  1080. of the cluster.
  1081. - Added support for key-bindings by including mouseTrap in Graph.
  1082. - Added navigation controls.
  1083. - Added keyboard navigation.
  1084. - Implemented functions `on` and `off` to create event listeners for event
  1085. `select`.
  1086. ## 2014-01-14, version 0.3.0
  1087. - Moved the generated library to folder `./dist`
  1088. - Css stylesheet must be loaded explicitly now.
  1089. - Implemented options `showCurrentTime` and `showCustomTime`. Thanks @fi0dor.
  1090. - Implemented touch support for Timeline.
  1091. - Fixed broken Timeline options `min` and `max`.
  1092. - Fixed not being able to load vis.js in node.js.
  1093. ## 2013-09-20, version 0.2.0
  1094. - Implemented full touch support for Graph.
  1095. - Fixed initial empty range in the Timeline in case of a single item.
  1096. - Fixed field `className` not working for items.
  1097. ## 2013-06-20, version 0.1.0
  1098. - Added support for DataSet to Graph. Graph now uses an id based set of nodes
  1099. and edges instead of a row based array internally. Methods getSelection and
  1100. setSelection of Graph now accept a list with ids instead of rows.
  1101. - Graph is now robust against edges pointing to non-existing nodes, which
  1102. can occur easily while dynamically adding/removing nodes and edges.
  1103. - Implemented basic support for groups in the Timeline.
  1104. - Added documentation on DataSet and DataView.
  1105. - Fixed selection of nodes in a Graph when the containing web page is scrolled.
  1106. - Improved date conversion.
  1107. - Renamed DataSet option `fieldTypes` to `convert`.
  1108. - Renamed function `vis.util.cast` to `vis.util.convert`.
  1109. ## 2013-06-07, version 0.0.9
  1110. - First working version of the Graph imported from the old library.
  1111. - Documentation added for both Timeline and Graph.
  1112. ## 2013-05-03, version 0.0.8
  1113. - Performance improvements: only visible items are rendered.
  1114. - Minor bug fixes and improvements.
  1115. ## 2013-04-25, version 0.0.7
  1116. - Sanitized the published packages on npm and bower.
  1117. ## 2013-04-25, version 0.0.6
  1118. - Css is now packaged in the javascript file, and automatically loaded.
  1119. - The library uses node style dependency management for modules now, used
  1120. with Browserify.
  1121. ## 2013-04-16, version 0.0.5
  1122. - First working version of the Timeline.
  1123. - Website created.