Skip to content

Listening event of node selection v2 #396

Closed Answered by newcat
code-snips asked this question in Q&A
Discussion options

You must be logged in to vote

The selected nodes are now part of the graph. You can watch the selected nodes:

const baklava = useBaklava();
watch(() => baklava.displayedGraph.selectedNodes, () => {
  // your logic
});

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@code-snips
Comment options

Answer selected by code-snips
Comment options

You must be logged in to vote
2 replies
@newcat
Comment options

@code-snips
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants