Skip to content

Releases: magjac/d3-graphviz

Asynchronous DOT layout in web worker

14 Nov 23:14
Compare
Choose a tag to compare
  • The layout work is performed in a web worker to avoid unresponsiveness
  • Callbacks and event dispatching to cope with the asynchronicity introduced
  • New on() method to register event listeners
  • Queuing system to handle application requests while busy
  • The transition method accepts a transition factory function for customized transitions and easier animation smoothness and synchronization from an application
  • New logEvents() method for debugging and for tuning transition delay and duration

NOTE 1: Although the API in itself is backwards compatible, the behavior is somewhat different because of the asynchronous behavior of web workers. The dot() and renderDot() methods now return "immediately", while the graph layout is being performed in the background. This will for some use cases require adding event listeners to one of the new events. See the README and the example directory for guidance.

NOTE 2: When loading the viz.js script, the script type shall be "javascript/worker", e.g.:
<script src="https://unpkg.com/[email protected]/viz.js" type="javascript/worker"></script>

Added support for growing edges to nodes with URL attribute

23 Sep 10:57
Compare
Choose a tag to compare

Corrected animated growth of entering edges on Chrome and Safari

29 Aug 04:17
Compare
Choose a tag to compare

v0.1.0

27 Aug 10:00
Compare
Choose a tag to compare

Animated growth of entering edges.
A demo can be seen here

v0.0.8

16 Aug 07:17
Compare
Choose a tag to compare

Same as v0.0.7, but published to npm without a lot of garbage files included by mistake.

v0.0.7

10 Aug 05:23
Compare
Choose a tag to compare
  • Changed d3.graphviz to take selector arg instead of selection

v0.0.4

08 Aug 22:31
Compare
Choose a tag to compare
Updated the README