Open bjdmeest opened 2 years ago
I know it is not what you want, but remember you can just use something like this:
"animation": "dashdraw .6s linear infinite reverse"
I am not sure whether I can do a lot to fix this problem, because the positioning is done by dagre.
Reordering the nodes before 'handing' them over to dagre has no effect whatsoever.
Can you add an FAQ section in the readme and add your 'reverse animation' trick there? It covers my use case, so good enough for me for now! :)
See following example
Global
Nodes
Edges
This image is almost perfect, but I want to last edge to change direction. Switching source and target of the latest element however totally messes up the autoLayout
I figured it might have been because the edge handlers are by default right for source and left for target (in horizontal mode), so I changed that too, last element is now
but no :(
I can then move the comunica node to have almost the same layout as originally, but I'm wondering if there's a smarter layouting idea we can do, eg by reordering the nodes based on the edges before doing the layout? reordering the nodes changes the layout only when there's a 'reverse' edge somewhere.