You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A drawn edge or node is drawn on the first SVG in the document, which is not necessarily the SVG rendered by d3-graphviz. When the edge or node is inserted into the graph, d3-graphviz renders it correctly, but it is still visible on the first SVG, at least partly.
Note that this bug affects the draw API only. Graphs are still rendered correctly from DOT source.
The text was updated successfully, but these errors were encountered:
Partial fixes are implemented in 84eae0d and dc02e7f, which makes the edges and nodes being drawn on the correct SVG, but with an offset to the given coordinates.
The offset problem wasn't a problem with the draw API, but only with the examples. The examples have been updated with d0b3b1f and a new example with multiple SVG's has been added with 09cc69d.
magjac
changed the title
The draw API draws edges and nodes incorrectly when more than one SVG exist in the document
The draw API draws edges and nodes incorrectly when more than one SVG exists in the document
Apr 8, 2018
A drawn edge or node is drawn on the first SVG in the document, which is not necessarily the SVG rendered by d3-graphviz. When the edge or node is inserted into the graph, d3-graphviz renders it correctly, but it is still visible on the first SVG, at least partly.
Note that this bug affects the draw API only. Graphs are still rendered correctly from DOT source.
The text was updated successfully, but these errors were encountered: