Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a button (and repective callback) to each connection (arrow) #99

Open
Alcachofraz opened this issue Feb 7, 2023 · 0 comments
Open

Comments

@Alcachofraz
Copy link

I'm building a sort of dynamic tree using the GraphView plugin (great job with the plugin, by the way, it's awesome), and I'm stuck trying to add a way to break connections between nodes.

In the attached image I drew little red crosses illustrating what I need. When I'd click a red cross, a callback would be called with the 'from' node ID and the 'to' node ID, the 2 nodes involved in the connection. This way I would be able to break the connection.

Captura de ecrã 2023-02-07 183928

Since customization is only possible for the nodes, I can't do connection related stuff. Could you add a way for achieving this?

Maybe just add a default button to each connection so we can implement its callback (make sure the callback has the 'to' and 'from' parameters).

Let me know if this can be done, and how quickly. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant