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.

910 lines
46 KiB

10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script>(function (i, s, o, g, r, a, m) {
  5. i['GoogleAnalyticsObject'] = r;
  6. i[r] = i[r] || function () {
  7. (i[r].q = i[r].q || []).push(arguments)
  8. }, i[r].l = 1 * new Date();
  9. a = s.createElement(o), m = s.getElementsByTagName(o)[0];
  10. a.async = 1;
  11. a.src = g;
  12. m.parentNode.insertBefore(a, m)
  13. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  14. ga('create', 'UA-61231638-1', 'auto');
  15. ga('send', 'pageview');</script>
  16. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  17. <meta charset="utf-8">
  18. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  19. <meta name="viewport" content="width=device-width, initial-scale=1">
  20. <meta name="description" content="">
  21. <meta name="author" content="">
  22. <link rel="icon" HREF="favicon.ico">
  23. <title>vis.js - A dynamic, browser based visualization library.</title>
  24. <!-- Bootstrap core CSS -->
  25. <link href="./css/bootstrap.css" rel="stylesheet">
  26. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  27. <!--[if lt IE 9]>
  28. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  29. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  30. <![endif]-->
  31. <script src="./js/smooth-scroll.min.js"></script>
  32. <script language="JavaScript">
  33. smoothScroll.init();
  34. </script>
  35. <style>
  36. html {
  37. height: 100%;
  38. }
  39. body {
  40. font-family: Lustria, Georgia, Times, "Times New Roman", serif !important;
  41. height: 100%;
  42. background: url('./images/crosswordStrong.png') /* Background pattern from subtlepatterns.com */
  43. }
  44. img.icon {
  45. position: relative;
  46. top: -2px;
  47. }
  48. div.navbar-wrapper {
  49. background-color: #07508E;
  50. border-bottom: 3px solid #ffffff;
  51. font-size: 16px;
  52. }
  53. div.center {
  54. width: 970px;
  55. margin-left: auto;
  56. margin-right: auto;
  57. }
  58. div.container.small {
  59. max-width: 970px;
  60. }
  61. div.blogHeader {
  62. margin-left: auto;
  63. margin-right: auto;
  64. text-align: center;
  65. width: 910px;
  66. padding: 0px 30px 0px 30px;
  67. margin-top: -150px;
  68. color: #ffffff;
  69. text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
  70. margin-bottom: 60px;
  71. }
  72. div.post {
  73. margin: 40px 80px 0px 190px;
  74. padding: 10px 10px 10px 20px;;
  75. border: 1px solid #eeeeee;
  76. border-radius: 3px;
  77. }
  78. div.postHeader {
  79. float: left;
  80. font-size: 30px;
  81. }
  82. div.postDate {
  83. margin-top: 19px;
  84. float: right;
  85. font-size: 12px;
  86. }
  87. div.postAuthor {
  88. padding-left: 5px;
  89. margin-top: 19px;
  90. margin-right: 20px;
  91. float: right;
  92. font-size: 12px;
  93. }
  94. div.postContent {
  95. font-size: 16px;
  96. margin-top: 50px;
  97. padding: 10px 20px 0px 20px;
  98. text-align: justify;
  99. }
  100. div.full {
  101. min-height: 100%;
  102. box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.4);
  103. padding: 0px;
  104. background-color: #ffffff;
  105. }
  106. div.postsMenu {
  107. position: relative;
  108. left: -15px;
  109. top: -50px;
  110. width: 0px;
  111. height: 0px;
  112. }
  113. div.postsMenuContent {
  114. padding: 10px;
  115. background-color: #6787a6;
  116. width: 180px;
  117. height: 500px;
  118. border-radius: 5px;
  119. box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.4);
  120. color: #ffffff;
  121. font-size: 16px;
  122. }
  123. a.post {
  124. font-size: 12px;
  125. text-decoration: none;
  126. color: #ffffff;
  127. display: block;
  128. margin: 10px 0px 0px 0px;
  129. }
  130. </style>
  131. </head>
  132. <!-- NAVBAR
  133. ================================================== -->
  134. <body>
  135. <div class="navbar-wrapper">
  136. <div class="container">
  137. <nav class="navbar navbar-inverse navbar-static-top" role="navigation">
  138. <div class="container">
  139. <div class="navbar-header">
  140. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
  141. aria-expanded="false" aria-controls="navbar">
  142. <span class="sr-only">Toggle navigation</span>
  143. <span class="icon-bar"></span>
  144. <span class="icon-bar"></span>
  145. <span class="icon-bar"></span>
  146. </button>
  147. <a class="navbar-brand hidden-sm" href="./index.html">vis.js</a>
  148. </div>
  149. <div id="navbar" class="navbar-collapse collapse">
  150. <ul class="nav navbar-nav">
  151. <li><a href="./index.html#modules">Modules</a></li>
  152. <li><a href="./docs/index.html" target="_blank">Documentation <img class="icon"
  153. src="./images/external-link-icons/external-link-icon-white.png"></a>
  154. </li>
  155. <li class="active"><a href="#">Blog</a></li>
  156. <li><a href="./index.html#download_install">Download</a></li>
  157. <li><a href="./showcase/index.html">Showcase</a></li>
  158. <li><a href="./index.html#contribute">Contribute</a></li>
  159. <li><a href="./index.html#licenses">License</a></li>
  160. </ul>
  161. </div>
  162. </div>
  163. </nav>
  164. </div>
  165. </div>
  166. <a href="https://github.com/almende/vis" class="hidden-xs hidden-sm hidden-md"><img
  167. style="position: absolute; top: 0; right: 0; border: 0;"
  168. src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67"
  169. alt="Fork me on GitHub"
  170. data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
  171. <div class="container full small">
  172. <div class="center">
  173. <img src="./images/wallHeader.png">
  174. </div>
  175. <div class="blogHeader">
  176. <h1>vis.js</h1>
  177. <p>A dynamic, browser based visualization library.
  178. The library consists of the components DataSet, Timeline, Network, Graph2d and Graph3d. This blog is about
  179. the latest developments, roadmap and releases.
  180. </p>
  181. </div>
  182. <div class="postsMenu">
  183. <div class="postsMenuContent">
  184. Posts:
  185. <a data-scroll class="post" href="#CrownstoneKickstarter">- The Crownstone kickstarter promotion</a>
  186. <a data-scroll class="post" href="#V4Release">- V4, ES6 and what's next</a>
  187. <a data-scroll class="post" href="#Released version 3.11.0">- Released version 3.11.0</a>
  188. <a data-scroll class="post" href="#Released version 3.10.0">- Released version 3.10.0</a>
  189. <a data-scroll class="post" href="#Released version 3.9.0">- Released version 3.9.0</a>
  190. <a data-scroll class="post" href="#The 2015 roadmap for vis.js">- The 2015 roadmap for vis.js</a>
  191. <a data-scroll class="post" href="#A look back on vis.js">- A look back on vis.js</a>
  192. <a data-scroll class="post" href="#New website for vis.js!">- New website for vis.js!</a>
  193. <a data-scroll class="post" href="#Released version 3.8.0">- Released version 3.8.0</a>
  194. </div>
  195. </div>
  196. <div class="post">
  197. <div class="postHeader" id="CrownstoneKickstarter">The Crownstone kickstarter promotion</div>
  198. <div class="postAuthor">by <a href="https://github.com/alexdm0">Alex</a></div>
  199. <div class="postDate">15th of September 2015</div>
  200. <div class="postContent">
  201. <p>
  202. Hi Everyone,
  203. </p>
  204. <p>
  205. So you may have noticed the big banner on our website and thought: "What the hell?". I'd like to explain why we're doing this. </p><p>
  206. As you may know, vis.js is developed at Almende BV in the Netherlands. Almende has a number of daughter companies, among which: <a href="http://dobots.nl" target="_blank">DoBots</a>.
  207. They share our building and we're working with them a lot! We have used their code and hardware in projects and have contributed some code for the
  208. firmware as well.
  209. </p>
  210. <img src="./images/blog/kickstarter_1.png" style="position:relative; left:12px; padding:10px;">
  211. <p><a href="https://www.kickstarter.com/projects/dobots/crownstone">DoBots is now doing a kickstarter for the Crownstone, a smart upgrade for any power socket!</a> Recently I have spend a few weeks helping them settings up their campaign. I made the video's,
  212. the 3D artwork and helped out with the texts. I think this is a great product and I believe it deserves a chance to enter the market!</p>
  213. <img src="./images/blog/kickstarter_2.png" style="position:relative; left:12px; padding:10px;">
  214. <p>Like us (the vis.js team), the guys at DoBots believe in open source. The Crownstone's Bluetooth API's will be open but secure so only YOU can use YOUR Crownstones. This means you can use any BLE device to interact with your house!
  215. If the stretchgoal is made, there'll even be Arduino support! I will also be working on the iOS app and that too will be open source.</p>
  216. <p>I hope our community can help <a href="https://www.kickstarter.com/projects/dobots/crownstone">the kickstarter</a> reach it's goal and maybe even the stretchgoals.</p>
  217. <img src="./images/blog/kickstarter_3.png" style="position:relative; left:12px; padding:10px;">
  218. <p><a href="https://www.kickstarter.com/projects/dobots/crownstone">Please support us and spread the word!</a></p><p>If you share it in a tweet, facebook or different way, <a href="https://github.com/almende/vis/issues/1302">leave a comment in issue #1302! :)</a></p>
  219. <p>Regards and thank you,</p>
  220. <p>Alex</p>
  221. </div>
  222. </div>
  223. <div class="post">
  224. <div class="postHeader" id="V4Release">V4, ES6 and what's next</div>
  225. <div class="postAuthor">by <a href="https://github.com/alexdm0">Alex</a></div>
  226. <div class="postDate">22nd of May 2015</div>
  227. <div class="postContent">
  228. <p>
  229. It’s been a long time coming but its finally here! We have just released the newest version of vis.js:
  230. v4! This is a breaking release (hence the version number change). This means the options and the API
  231. have been changed in such a way that it is no longer backwards compatible.
  232. </p>
  233. <p>
  234. We know it is annoying to go back to your code and making the required changes, but I guarantee that it
  235. is for the best. To help with this migration, we have included an option validator to our new release.
  236. This validator is currently applied on the network, timeline and graph2d. It checks if the options you
  237. supply are of the right type. If your options do not exist or if the type is wrong, it will give
  238. you an understandable message with suggestions of options you may have meant. We think this will make
  239. developing for vis a lot easier, as well as the migration from v3 to v4.
  240. </p>
  241. <p>
  242. The biggest change in this release is in the network module. We have rewritten the network module in
  243. full and the results are cleanly separated ES6 modules. The option structure has been changed to suit
  244. this structure. The options have also been grouped, making it easier to document and understand. For example,
  245. lets look at the options for fonts. It used to be fontColor, fontFace fontSize, which is now
  246. grouped in a font object with {color:’’,face:’’,size:’’}. Also completely new is the clustering
  247. mechanism. It used to be mostly automatic and twitchy but this new version gives all the control to the
  248. user. This should make the clustering very useful and I’ll be happy to hear of missing features for
  249. this!
  250. </p>
  251. <p>
  252. We have moved to hammer.js 2 for all of our touch and click events, and a lot of work has gone into
  253. updating all the css elements (especially for timeline) to eliminate conflicts with large frameworks
  254. that overload <i>everything</i>.
  255. </p>
  256. <p>
  257. Over the last year, we have received a lot of issues on our Github page for which we are very thankful.
  258. Whether it is a bug report, question or feature request, we handle all of them as quickly as we can, and
  259. with these big new rewrites it gives us a new perspective on what is important. We hope the validator
  260. will prevent a lot of issues. The new examples have also been designed to more clearly show simple
  261. options. We plan to provide links to JSBin for all options, but this is a lot of work (for which we
  262. wouldn’t mind some help ;) ).
  263. </p>
  264. <p>
  265. So what’s next? Well the next module that really needs a good overhaul is the graph2d. This module is
  266. used by us internally quite a lot, and we need to improve the architecture and make it easy to extend it
  267. with new graph types.
  268. </p>
  269. <p>
  270. We want to unify the code between the timeline and the graph2d even more. The ideal result would be
  271. using a graph2d as a group in the timeline, or use the timeline items in a graph2d without nasty hacks.
  272. The graph2d should get numeric x axis (so not necessarily only time), logarithmic axis and hopefully the
  273. architecture will be flexible enough to allow the x and y axis to be interchanged. The API across the
  274. modules will also be further unified, and I think we’ve made a great start with v4!
  275. </p>
  276. <p>
  277. From all the modules currently in vis, the graph3d is the oldest and currently the one suffering a lack
  278. of attention. If you are an excited user of the graph3d module and want to contribute, we’re open for
  279. additions to the vis.js team! The graph3d is feature complete but a webgl implementation could be a
  280. great improvement.
  281. </p>
  282. <p>
  283. I cannot give a timeframe for the things I have discussed here, and we’re always open for ideas and
  284. contributions. If you feel like you want to contribute, let us know :).
  285. </p>
  286. <h3>Changelog:</h3>
  287. <h4>General</h4>
  288. <ul>
  289. <li>Changed the build scripts to include a transpilation of ES6 to ES5
  290. (using <a href="http://babel.org">http://babel.org</a>), so we can use ES6 features in the vis.js
  291. code.
  292. When creating a custom bundle using browserify, one now needs to add a
  293. transform step using <code>babelify</code>, this is described in README.md.
  294. </li>
  295. </ul>
  296. <h4>Timeline</h4>
  297. <ul>
  298. <li>Integrated an option configurator and validator.</li>
  299. <li>Implemented option <code>multiselect</code>, which is false by default.</li>
  300. <li>Added method <code>setData({groups: groups, items: items})</code>.</li>
  301. <li>Fixed range items not being displayed smaller than 10 pixels (twice the
  302. padding). In order to have overflowing text, one should now apply css style
  303. <code>.vis.timeline .item.range { overflow: visible; }</code> instead of
  304. <code>.vis.timeline .item.range .content { overflow: visible; }</code>.
  305. See example 18_range_overflow.html.
  306. </li>
  307. <li>Fixed invalid css names for time axis grid, renamed hours class names from
  308. <code>4-8h</code> to <code>h4-h8</code>.
  309. </li>
  310. <li>Deprecated option <code>showCustomTime</code>. Use method <code>addCustomTime()</code> instead.</li>
  311. <li>Deprecated event <code>finishedRedraw</code> as it's redundant.</li>
  312. <li>Renamed option <code>animate</code> to <code>animation</code>, and changed it to be either a boolean
  313. or an object <code>{duration: number, easingFunction: string}</code>.
  314. </li>
  315. <li>Fixed #831: items losing selection when their type changed.</li>
  316. </ul>
  317. <h4>Graph2d</h4>
  318. <ul>
  319. <li>New option structure.</li>
  320. <li>Cleaned up docs.</li>
  321. <li>Fixed #628: stacking order.</li>
  322. <li>Fixed #624: sorting order.</li>
  323. <li>Fixed #616: stacking with negative bars.</li>
  324. <li>Fixed #728: alignment issues.</li>
  325. <li>Fixed #716: Height of graph <code>2px</code> too large when configuring a fixed height.</li>
  326. </ul>
  327. <h4>Network</h4>
  328. <p>The network has been completely rewritten. The new modular setup using ES6 classes makes
  329. it future proof for maintainability, extendability and clarity. A summary of new features:</p>
  330. <ul>
  331. <li>New examples, categorized by topic.</li>
  332. <li>New docs.</li>
  333. <li>New option structure, adhering to the modular setup on the backend.</li>
  334. <li>New events for user interaction.</li>
  335. <li>New render events for drawing custom elements on the canvas.</li>
  336. <li>New physics events for making a loading bar during stabilization.</li>
  337. <li>A lot of new methods that make extending easier.</li>
  338. <li>Manipulation system now works without the UI neccesarily.</li>
  339. <li>Nodes and edges can cast shadows.</li>
  340. <li>Configurator system to dynamically change almost all options.</li>
  341. <li>Validator has been created for the network's options, warning you about typo's and suggesting
  342. alternatives.
  343. </li>
  344. <li>Diamond shape for nodes.</li>
  345. <li>Unified the label code so edges and nodes have the same label settings.</li>
  346. <li>InheritColors for edges can be set to both, making a gradient fade between two node colors.</li>
  347. <li>Redesigned the clustering system giving full control over it.</li>
  348. <li>Random seed can be saved so the network will be the same every time you start it.</li>
  349. <li>New physics solver based on ForceAtlas2 as implemented in gephi.]</li>
  350. <li>New avoidOverlap option for physics.</li>
  351. <li>Many, many bugfixes.</li>
  352. </ul>
  353. <h4>DataSet</h4>
  354. <ul>
  355. <li>Dropped support for Google visualization DataTable.</li>
  356. <li>Dropped support for appending data returned by <code>DataSet.get()</code> to an existing
  357. Array or DataTable.
  358. </li>
  359. </ul>
  360. </div>
  361. </div>
  362. <div class="post">
  363. <div class="postHeader" id="Released version 3.11.0">Released version 3.11.0</div>
  364. <div class="postAuthor">by <a href="https://github.com/josdejong">Jos</a></div>
  365. <div class="postDate">6th of March 2015</div>
  366. <div class="postContent">
  367. <p>
  368. Today we released vis.js version 3.11.0. The Timeline has gotten quite some attention in this release:
  369. For example, the Timeline finally has gotten more event handlers to enable custom behavior in a flexible
  370. way. Network is evolving at a steady speed. It's really great to get more and more substantial
  371. contributions from the community latest months! Thanks.
  372. </p>
  373. <p>Changelog:</p>
  374. <h3>Network</h3>
  375. <ul>
  376. <li>(added gradient coloring for lines, but set for release in 4.0 due to required refactoring of
  377. options).
  378. </li>
  379. <li>Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions
  380. etc.
  381. </li>
  382. <li>Added option to bypass default groups. If more groups are specified in the nodes than there are in
  383. the groups, loop over supplied groups instead of default.
  384. </li>
  385. <li>Added two new static smooth curves modes: curveCW and curve CCW.</li>
  386. <li>Added request redraw for certain internal processes to reduce number of draw calls (performance
  387. improvements!).
  388. </li>
  389. <li>Added pull request for usage of Icons. Thanks @Dude9177!
  390. <li>Allow hierarchical view to be set in setOptions.</li>
  391. <li>Fixed manipulation bar for mobile.</li>
  392. <li>Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a
  393. DataView.
  394. </li>
  395. <li>Fixed #688: Added a css class to be able to distinguish buttons "Edit node" and "Edit edge".</li>
  396. </ul>
  397. <h3>Timeline</h3>
  398. <ul>
  399. <li>Implemented orientation option `'both'`, displaying a time axis both on top
  400. and bottom (#665).
  401. </li>
  402. <li>Implemented creating new range items by dragging in an empty space with the
  403. ctrl key down.
  404. </li>
  405. <li>Implemented configuration option `order: function` to define a custom ordering
  406. for the items (see #538, #234).
  407. </li>
  408. <li>Implemented events `click`, `doubleClick`, and `contextMenu`.</li>
  409. <li>Implemented method `getEventProperties(event)`.</li>
  410. <li>Fixed not property initializing with a DataView for groups.</li>
  411. <li>Merged add custom timebar functionality, thanks @aytech!
  412. <li>Fixed #664: end of item not restored when canceling a move event.</li>
  413. <li>Fixed #609: reduce the left/right dragarea when an item range is very small,
  414. so you can still move it as a whole.
  415. </li>
  416. <li>Fixed #676: misalignment of background items when using subgroups and the
  417. group label's height is larger than the contents.
  418. </li>
  419. </ul>
  420. <h3>Graph2d</h3>
  421. <ul>
  422. <li>Implemented events `click`, `doubleClick`, and `contextMenu`.</li>
  423. <li>Implemented method `getEventProperties(event)`.</li>
  424. </ul>
  425. <h3>DataSet/DataView</h3>
  426. <ul>
  427. <li>Implemented support for mapping field names. Thanks @spatialillusions.</li>
  428. <li>Fixed #670: DataView not passing a data property on update events (see #670)
  429. </ul>
  430. </div>
  431. </div>
  432. <div class="post">
  433. <div class="postHeader" id="Released version 3.10.0">Released version 3.10.0</div>
  434. <div class="postAuthor">by <a href="https://github.com/josdejong">Jos</a></div>
  435. <div class="postDate">11th of February 2015</div>
  436. <div class="postContent">
  437. <p>
  438. Version 3.10.0 has been released. Lots of improvements in Network, and some smaller bug fixes and
  439. improvements in Timeline and DataSet.
  440. </p>
  441. <p>Changelog:</p>
  442. <h3>Network</h3>
  443. <ul class="task-list">
  444. <li>Added option bindToWindow (default true) to choose whether the keyboard binds are global or to the
  445. network div.
  446. </li>
  447. <li>Improved images handling so broken images are shown on all references of images that are broken.
  448. </li>
  449. <li>Added getConnectedNodes method.</li>
  450. <li>Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to
  451. Nodes.
  452. </li>
  453. <li>Added fade in of labels (on nodes) near the fontDrawThreshold.</li>
  454. <li>Added nodes option to zoomExtent to zoom in on specific set of nodes.</li>
  455. <li>Added stabilizationIterationsDone event which fires at the end of the internal stabilization run.
  456. Does not imply that the network is stabilized.
  457. </li>
  458. <li>Added freezeSimulation method.</li>
  459. <li>Added clusterByZoom option.</li>
  460. <li>Added class name 'network-tooltip' to the tooltip, allowing custom styling.</li>
  461. <li>Fixed bug when redrawing was not right on zoomed-out browsers.</li>
  462. <li>Added opacity option to edges. Opacity is only used for the unselected state.</li>
  463. <li>Fixed bug where selections from removed data elements persisted.</li>
  464. </ul>
  465. <h3>Timeline</h3>
  466. <ul class="task-list">
  467. <li>`Timeline.redraw()` now also recalculates the size of items.</li>
  468. <li>Implemented option `snap: function` to customize snapping to nice date when dragging items.</li>
  469. <li>Implemented option `timeAxis: {scale: string, step: number}` to set fixed scale.</li>
  470. <li>Fixed width of range items not always being maintained when moving due to snapping to nice dates.
  471. </li>
  472. <li>Fixed not being able to drag items to an other group on mobile devices.</li>
  473. <li>Fixed `setWindow` not working when applying an interval larger than the configured `zoomMax`.</li>
  474. </ul>
  475. <h3>DataSet/DataView</h3>
  476. <ul class="task-list">
  477. <li>Added property `length` holding the total number of items to the `DataSet and `DataView`.</li>
  478. <li>Added a method `refresh()` to the `DataView`, to update filter results.</li>
  479. <li>Fixed a bug in the `DataSet` returning an empty object instead of `null` when no item was found when
  480. using both a filter and specifying fields.
  481. </li>
  482. </ul>
  483. </div>
  484. </div>
  485. <div class="post">
  486. <div class="postHeader" id="Released version 3.9.0">Released version 3.9.0</div>
  487. <div class="postAuthor">by <a href="https://github.com/AlexDM0">Alex</a></div>
  488. <div class="postDate">16th of January 2015</div>
  489. <div class="postContent">
  490. <p>
  491. We have been very busy fixing a lot of the open Github issues over the last week. We have also received
  492. multiple pull requests that could be added quickly! Special thanks to
  493. our community members contributing this release: @klmdb, @pavlos256, @T-rav, @brendon1982.
  494. Since this is a release with new features, we push the version number up to 3.9.0. Next up: big
  495. refactoring and version 4.0.0!
  496. </p>
  497. <p>Changelog:</p>
  498. <h3>
  499. <a class="anchor" href="#network" aria-hidden="true"><span class="octicon octicon-link"></span></a>Network
  500. </h3>
  501. <ul class="task-list">
  502. <li>Reverted change in image class, fixed bug #552</li>
  503. <li>Improved the fontFill offset between different browsers. #365</li>
  504. <li>Fixed dashed lines on firefox on Unix systems</li>
  505. <li>Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();</li>
  506. <li>Improved drawing of arrowheads on smooth curves. #349</li>
  507. <li>Caught case where click originated on external DOM element and drag progressed to vis.</li>
  508. <li>Added label stroke support to Nodes, Edges &amp; Groups as per-object or global settings. Thank you
  509. @klmdb!
  510. </li>
  511. <li>Reverted patch that made nodes return to 'default' setting if no group was assigned to fix issue
  512. #561.
  513. The correct way to 'remove' a group from a node is to assign it a different one.
  514. </li>
  515. <li>Made the node/edge selected by the popup system the same as selected by the click-to-select system.
  516. Thank you @pavlos256!
  517. </li>
  518. <li>Improved edit edge control nodes positions, altered style a little.</li>
  519. <li>Fixed issue #564 by resetting state to initial when no callback is performed in the return
  520. function.
  521. </li>
  522. <li>Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.</li>
  523. <li>Added labelAlignment option to edges. Thanks @T-rav!</li>
  524. <li>Close active sessions in dataManipulation when calling setData().</li>
  525. </ul>
  526. <h3>
  527. <a class="anchor" href="#timeline" aria-hidden="true"><span class="octicon octicon-link"></span></a>Timeline
  528. </h3>
  529. <ul class="task-list">
  530. <li>Added byUser flag to options of the rangechange and rangechanged event.</li>
  531. </ul>
  532. </div>
  533. </div>
  534. <div class="post">
  535. <div class="postHeader" id="The 2015 roadmap for vis.js">The 2015 roadmap for vis.js</div>
  536. <div class="postAuthor">by <a href="https://github.com/AlexDM0">Alex</a></div>
  537. <div class="postDate">9th of January 2015</div>
  538. <div class="postContent">
  539. <p>
  540. I initially wanted to do a small recap of vis.js so far but it became larger (and more off topic) than I
  541. expected. To understand some of the motivations for our roadmap, <a href="#A look back on vis.js">take a
  542. look at the post below this one first</a>.
  543. </p>
  544. <p>
  545. So now for our plans for 2015! We have added a lot of features over the last year, and we have to be
  546. careful that vis does not die of option-obesity. To mediate this we thought of a few solutions.
  547. Firstly, we will make the docs collapsible using a similar system to <a
  548. href="https://www.jsoneditoronline.org/" target="_blank">Jos&prime;s great online JSON editor</a>.
  549. This is naturally a temporary fix but
  550. the docs are one of the most important ways to get information. We think we ourselves may be the most
  551. frequent visitor of those pages so it's a good start!
  552. </p>
  553. <p>
  554. Secondly, the actual changes, we plan to reorganize some of the option structure. This will
  555. unfortunately (but by definition) be a breaking change from our old versions. The new structure will be
  556. clearer and more intuitive. The work our current
  557. users will have to do to update will be minimal. If you're using the options we reorganize, you'll have
  558. to update your options. Breaking releases are always a shame, but we feel it is necessary.
  559. </p>
  560. <p>
  561. The third step we want to take is to go over the code of each module and modularize everything much
  562. more. This will make the code easier to maintain as we move away from very large .js files, as well as
  563. make it easier to expand on.
  564. </p>
  565. <p>
  566. Once everything is modularized, we want to change the API to allow users to plug their own parts of vis
  567. together. As an example: You start a network module, plug in the type of node module, edge module,
  568. physics module and optionally navigation module (etc.) and you're good to go!
  569. All of these modules will be individually configured. This means the huge list of options will be
  570. segmented into smaller, more manageable parts. Additionally, the docs will become smaller and clearer.
  571. </p>
  572. <p>
  573. Of course, we do not want to abandon all our plug-and-play functionality! We will also start to supply
  574. more preconfigured constructors (i.e. a vis.BarChart that will give you a preconfigured graph2d module).
  575. Apart from these constructors
  576. we will continue to publish examples which will include code snippets that you can use in your own
  577. project.
  578. </p>
  579. <p>
  580. Once this has been completed, we expect there will be more options that accept functions as arguments
  581. which gives you more control over vis. Finally, because everything (well, more than now) would be split
  582. up into
  583. modules, it becomes easier for the community to create additional modules, further improving vis!
  584. </p>
  585. <p>
  586. The things I have listed here are the ideas that we have now. This is subject to change. We also cannot
  587. provide a timeline for this because we work on vis whenever we have time. No deadlines, no constrains,
  588. just when we have time.
  589. </p>
  590. <p>
  591. To wrap up, there are a few things I did not mention here but I'd like to add to the post anyway.
  592. <ul>
  593. <li>We want to improve the fusion of graph2d and the timeline, with the ideal that a graph2d can be used
  594. like a group in timeline now.
  595. </li>
  596. <li>Examples will be split in simple option/configuration examples and larger, feature
  597. demonstration/exploration examples.
  598. </li>
  599. <li>Graph2d will be expanded.</li>
  600. <li>We will move to hammer.js 2.0.</li>
  601. <li>We will add features <a href="./featureRequests.html" target="_blank">from the list</a> when we can
  602. </li>
  603. <li>We hope to keep up the
  604. <communi></communi>
  605. cation with our community!
  606. </li>
  607. </ul>
  608. Let's make 2015 as good as last year!
  609. </p>
  610. </div>
  611. </div>
  612. <div class="post">
  613. <div class="postHeader" id="A look back on vis.js">A look back on vis.js</div>
  614. <div class="postAuthor">by <a href="https://github.com/AlexDM0">Alex</a></div>
  615. <div class="postDate">9th of January 2015</div>
  616. <div class="postContent">
  617. <p>
  618. In April 2013, the initial commit was made for vis.js by <a href="https://github.com/josdejong">Jos</a>
  619. because the old CHAP LINKS library was becoming too large to expand and maintain.
  620. Vis.js was a clean, new start using all the knowledge gathered from the CHAP library with the ideal that
  621. the new infrastructure would be more stable, faster and easier to maintain.
  622. </p>
  623. <p>
  624. In January 2014, I joined the project and started to expand the Network module, which was called Graph
  625. back then. I have been working alongside Jos since then we have poured a lot of hours into vis.
  626. </p>
  627. <p>
  628. On the 16th of April 2014, exactly a year after the initial commit, <a
  629. href="https://twitter.com/hackernewsbot/status/456231005678874624" target="_blank">a twitterbot with
  630. a lot of followers</a> notified
  631. the world that we were featured on hackernews! This was the boost we needed to really reach a large
  632. community. We saw the amount of visitors and Github stars increase greatly over the months that
  633. followed.
  634. </p>
  635. <p>
  636. The 14th of October, we have altered the license of vis.js to MIT or APACHE 2.0. This allowed <a
  637. href="http://tiddlywiki.com/" target="_blank">Tiddlywiki</a> to add vis.js to their keychain. From
  638. what we hear,
  639. their developers really enjoy working with vis and we look forward to hearing how their community uses
  640. our software!
  641. </p>
  642. <p>
  643. Now, we have a great community that helps out in issues, fixes our typos in the docs, notifies us of
  644. bugs and sometimes fixes them for us. We have received pull requests with new features and improvements
  645. and
  646. it has been fantastic!
  647. </p>
  648. <p>
  649. This post started out as the roadmap for vis in 2015, but the review was longer than I initially
  650. expected thereby deserving its own post.
  651. </p>
  652. <p>
  653. Have fun using vis!
  654. </p>
  655. </div>
  656. </div>
  657. <div class="post">
  658. <div class="postHeader" id="New website for vis.js!">New website for vis.js!</div>
  659. <div class="postAuthor">by <a href="https://github.com/AlexDM0">Alex</a></div>
  660. <div class="postDate">9th of January 2015</div>
  661. <div class="postContent">
  662. <p>
  663. The old website served us well, but now that we arrived in 2015... it is really time for an upgrade! We
  664. hope the new website is more informative, modern and a good promotion for vis.js!
  665. It also allows us to keep the community updated through this blog and to <a href="./showcase/index.html"
  666. target="_blank">show off
  667. great projects that make use of vis.js in our showcase</a>.
  668. </p>
  669. <p>If you have made something and would like it featured,
  670. please make an <a href="https://github.com/almende/vis/issues" target="_blank">issue on Github</a> with
  671. your project and how you'd like to be credited.</p>
  672. </p><p>
  673. The new website is in beta so if anyone spots a typo or other mistake, please let us know on our <a
  674. href="https://www.github.com/almende/vis" target="_blank">Github</a> page.
  675. </p>
  676. <p>
  677. There is no forum on this website. We prefer to keep all the communication with the community through
  678. Github. We believe this is the best solution so everyone only has to check the Github issues
  679. when there is a problem or suggestion.
  680. </p>
  681. <p>
  682. A big change introduced with our new website, is the <a href="./featureRequests.html" target="_blank">feature
  683. request page</a>. There are a lot of issues on Github that suggest features but we do not
  684. always have time to implement these ourselves. On the other hand, there have been issues where people
  685. tell us they want to contribute but are now sure where to start. To mediate this (and to make a clear
  686. overview
  687. for ourselves) we listed everything <a href="./featureRequests.html" target="_blank">here</a>.
  688. </p>
  689. <p>Once a feature is added to <a href="./featureRequests.html" target="_blank">the list</a>, it is not the
  690. end of the line. At each new release, we'll look at the list and see which features we may want to pick
  691. up for the next one. Discussions on these features
  692. can still continue on the referenced Github issues. When we have added a feature to this list, we will
  693. close the Github issue that requested it to keep our open issues more of a bug-todo list. The main
  694. motivation for this
  695. is because we have noticed that old bugs (on pages after 2) would be overlooked from time to time.
  696. </p>
  697. <p>
  698. This feature page is an experiment. If it turns out that the community does not like us closing issues
  699. with open feature requests or if it does not have the impact we'd like it to have, we'll revert back to
  700. the old model.
  701. </p>
  702. <p>
  703. We thank you all for using vis! Last year has seen a great increase in our user base and it is a great
  704. motivating factor knowing that our work is used by others!
  705. </p>
  706. <p>
  707. Here's to a great 2015!
  708. </p>
  709. </div>
  710. </div>
  711. <div class="post">
  712. <div class="postHeader" id="Released version 3.8.0">Released version 3.8.0</div>
  713. <div class="postAuthor">by <a href="https://github.com/AlexDM0">Alex</a></div>
  714. <div class="postDate">9th of January 2015</div>
  715. <div class="postContent">
  716. <p>
  717. We're proud to present a new version of the vis.js library: 3.8.0! This release has a lot of new
  718. features and bugfixes, nearly all of which were suggested and/or discovered
  719. by our community on <a href="https://www.github.com/almende/vis" target="_blank">Github</a>. A lot of
  720. the issues on Github have been handled in this release and it is likely to be the
  721. last release before 4.0.0. The 4.0.0 release will break compatibility with old code (only options will
  722. be revisited on the API side) but more on that in <a href="#The 2015 roadmap for vis.js">the roadmap
  723. post</a>.
  724. </p>
  725. <p>Changelog:</p>
  726. <h3>
  727. <a class="anchor" href="#network" aria-hidden="true"><span class="octicon octicon-link"></span></a>Network
  728. </h3>
  729. <ul class="task-list">
  730. <li>Fixed flipping of hierarchical network on update when using RL and DU.</li>
  731. <li>Added zoomExtentOnStabilize option to network.</li>
  732. <li>Improved destroy function, added them to the examples.</li>
  733. <li>Nodes now have bounding boxes that are used for zoomExtent.</li>
  734. <li>Made physics more stable (albeit a little slower).</li>
  735. <li>Added a check so only one 'activator' overlay is created on clickToUse.</li>
  736. <li>Made global color options for edges overrule the inheritColors.</li>
  737. <li>Improved cleaning up of the physics configuration on destroy and in options.</li>
  738. <li>Made nodes who lost their group revert back to default color.</li>
  739. <li>Changed group behaviour, groups now extend the options, not replace. This allows partial defines of
  740. color.
  741. </li>
  742. <li>Fixed bug where box shaped nodes did not use hover color.</li>
  743. <li>Fixed Locales docs.</li>
  744. <li>When hovering over a node that does not have a title, the title of one of the connected edges that
  745. HAS a title is no longer shown.
  746. </li>
  747. <li>Fixed error in repulsion physics model.</li>
  748. <li>Improved physics handling for smoother network simulation.</li>
  749. <li>Fixed infinite loop when an image can not be found and no brokenImage is provided.</li>
  750. <li>Added getBoundingBox method.</li>
  751. <li>Community fix for SVG images in IE11, thanks @dponch!</li>
  752. <li>Fixed repeating stabilized event when the network is already stabilized.</li>
  753. <li>Added circularImages, thanks for the contribution @brendon1982!</li>
  754. </ul>
  755. <h3>
  756. <a class="anchor" href="#graph2d" aria-hidden="true"><span class="octicon octicon-link"></span></a>Graph2d
  757. </h3>
  758. <ul class="task-list">
  759. <li>Fixed round-off errors of zero on the y-axis.</li>
  760. <li>added show major/minor lines options to dataAxis.</li>
  761. <li>Fixed adapting to width and height changes.</li>
  762. <li>Added a check so only one 'activator' overlay is created on clickToUse.</li>
  763. <li>DataAxis width option now draws correctly.</li>
  764. </ul>
  765. <h3>
  766. <a class="anchor" href="#timeline" aria-hidden="true"><span class="octicon octicon-link"></span></a>Timeline
  767. </h3>
  768. <ul class="task-list">
  769. <li>Implemented support for styling of the vertical grid.</li>
  770. <li>Support for custom date formatting of the labels on the time axis.</li>
  771. <li>added show major/minor lines options to timeline.</li>
  772. <li>Added a check so only one 'activator' overlay is created on clickToUse.</li>
  773. </ul>
  774. <h3>
  775. <a class="anchor" href="#graph3d" aria-hidden="true"><span class="octicon octicon-link"></span></a>Graph3d
  776. </h3>
  777. <ul class="task-list">
  778. <li>Fixed mouse coordinates for tooltips.</li>
  779. </ul>
  780. </div>
  781. </div>
  782. <br/>
  783. <br/>
  784. <br/>
  785. <br/>
  786. <br/>
  787. </div>
  788. <!-- Bootstrap core JavaScript
  789. ================================================== -->
  790. <!-- Placed at the end of the document so the pages load faster -->
  791. <script src="./js/jquery.min.js"></script>
  792. <script src="./js/bootstrap.min.js"></script>
  793. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  794. <script src="./js/ie10-viewport-bug-workaround.js"></script>