#33 Be able to have callbacks associated with nodes and edges

open
nobody
None
5
2012-10-24
2006-12-19
Abhi Jain
No

It would be very useful to be able to attach callbacks, or to even to just get notification about nodes/edges clicked on, to interact with displayed graph. These could be used to open up additional detail panels, or to use the display as a frontend to interact with a background process. Is there any of doing this?

Discussion

  • Logged In: YES
    user_id=616074
    Originator: NO

    It would be possible to implement a callback mechanism that triggers callback methods whenever a shape or arc gets selected by a mouse click. The problem is that through the standard/SVG pipeline, ZGRViewer does not know anything about the graph structure. So the callbacks could just tell you that an ellipse, or a polygon, or a curve was clicked, but it would not be able to tell you that it is an edge or node that has a given ID or label.

    This issue would be solved by using the augmented DOT pipeline ; unfortunately this pipeline is not fully working (several DOT instructions do not work and there are issues with fonts) and nobody is working on it for now.

     


Anonymous


Cancel   Add attachments