Skip to content

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

@Alcachofraz

Description

@Alcachofraz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions