Skip to content

Rerendering Whole Network Programatically #375

Answered by mossy426
mossy426 asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out! I had to reassign a new data object, rather than a nodes array. Since the entire data object is what's being passed to the graph (not the nodes/links), you must reassign that object instead and it rerenders all nodes/links again.

That being said, the whole network rearranges itself when rerendering, which may prove frustrating when you've moved everything into a specific position.

Replies: 6 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
13 replies
@mossy426
Comment options

@rokotyan
Comment options

@rokotyan
Comment options

@mossy426
Comment options

@rokotyan
Comment options

Answer selected by reb-dev
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #362 on April 24, 2024 18:36.