Event callback that can be used to execute after the graph is rendered #1038
-
Is there any callback method on which I can call after the graph has been rendered completely? I'm aware there is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
If you're looking for a callback when the initial nodes are all initialized and visible, you can use There's also getter called Another way to check for it is using Though, why would you have to wait for the node to be initialized to highlight it? You can use css, you can also use |
Beta Was this translation helpful? Give feedback.
Rendering should not have any influence on the hierarchy of your nodes.
You know what connections your node has before it's visible (as you're the one creating edges), you also know what position a node has before it's visible (as you're the one giving it it's position).
So I'm not sure why visibility (rendering) of a node is relevant at all for any of this 😄