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.

912 lines
46 KiB

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