Open andreash opened 1 month ago
Is my assumption right, that you are using the node ids in the title elements for referencing between an existing svg and the next one?
By default, yes, but you can change that with the keyMode function. For details see Maintaining Object Constancy.
If yes - could you point me to the point in the code where this is implemented?
It's in the setKey function.
Thanks - setting the id for nodes and edges and set keyMode to "id" works well. Deleting the
BTW, it would be great if the generated svg string is made accessible in one of the lifecylce callbacks. right now I am using a trick (I patched "parseFromString" in the DOMParser class, to get hold of the svg string bevore it is being attached to d3.
I am experimenting with the SVG generated by Graphviz and was, for some reasons, deleting the