Skip to content

Passing Data to Edge #335

Answered by briangregoryholmes
jkanel asked this question in Q&A
Discussion options

You must be logged in to vote

So, I'll share the direction we're imagining for Edges going forward. Enabling them as a custom component was a last minute addition for v7 and they are largely a holdover implementation from previous versions with just a little bit of extra functionality. The edgeClick prop and the idea of a passing a button as a label is really limited to aesthetic, non contextual changes or deleting the edge through our exposed destroy function.

It's possible to implement what you're describing, but not in a way that really exists in the context of the source and target Anchors. You'd create, for instance, a Professor->Student Edge component and you could enable functionality to change the label prop w…

Replies: 2 comments 3 replies

Comment options

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

@jkanel
Comment options

Comment options

You must be logged in to vote
1 reply
@jkanel
Comment options

Answer selected by jkanel
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