Re:Show HN: GraphicsJS, New Powerful Free Open-Source JavaSc...
by oscilloscope on Thursday September 15, 2016 @10:33PM
(#12511499)
D3 Version 4 has more utilities and examples of interactions with Canvas. Here's an example of a relatively small graph (~500 nodes, 10k edges) that SVG used to struggle with, but Canvas renders with ease.
Re:Show HN: GraphicsJS, New Powerful Free Open-Source JavaSc...
by polskibus on Friday September 16, 2016 @07:55AM
(#12513370)
Wow, I didn't know D3 v.4 is so much better for Canvas, thanks for the link. However, this simulation runs horribly slow in FF and IE - I wonder where the fault is.
http://bl.ocks.org/syntagmatic/954b31aa8b8beb91b30ccb0c9e57f...
Notice the nodes are draggable, an interaction supported by the new simulation.find https://github.com/d3/d3-force/#simulation_find