[graphviz-interest] Tooltip or label highlighting on mouse hover
Prantanu Sarkar <[email protected]>
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <1AE7EF7BFD4E274A8191F63BDD220D4A5590998B68@artemis.noida.atrenta.com> |
Hi North/Emden,
Please let me know whether any of the following three scenarios is achievable?
a. Attaching tooltip to the nodes and edges.
I tried "tooltip", "edgetooltip", "nodetooltip", "labeltooltip" everything, but it didn't work for me.
Don't know whether it is because of some local changes in lefty files. I have attached the lefty files, I am using.
b. Highlighting the label attached to the edges on mouse hover.
Here is a simple dot file that I tried. Actually in huge graph, it is very difficult to identify which label is attached to which edge.
digraph _fsm2s {
size="8,5"
orientation=land;
FSM2S1[sgval="unreachable.v@@46@@FSM2S1",shape=circle];
FSM2S2[sgval="unreachable.v@@47@@FSM2S2",shape=circle,style=filled,color=yellow, tooltip="custom tooltip"];
FSM2S3[sgval="unreachable.v@@48@@FSM2S3",shape=circle];
FSM2S4[sgval="unreachable.v@@49@@FSM2S4",shape=circle];
FSM2S1 -> FSM2S3 [ label="",sgval="unreachable.v@@46@@FSM1S3" ];
FSM2S2 -> FSM2S3 [ label="",sgval="unreachable.v@@47@@FSM1S3" ];
FSM2S3 -> FSM2S4 [ label="",sgval="unreachable.v@@48@@FSM1S4" ];
FSM2S4 -> FSM2S1 [ label="ctl",sgval="unreachable.v@@50@@FSM1S1", edgetooltip="custom tooltip" ];
}
c. If none of the above is possible, please let me know whether any lefty function is called on mouse hover over the edges.
If so, is it possible to get the edge name, so that we can use that to display some information related to edge.
Thanks and lot.
Regards,
Prantanu
________________________________
NOTE: This message and its attachments are intended only for the individual or entity to which it is addressed, and may contain confidential information or forward looking statements in regards to product development. Information or statements contained within this email are for informational purposes only and do not represent a commitment, promise, or legal obligation of any kind by Atrenta, Inc. or its affiliates.
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
dotty_ui.lefty
(application/octet-stream, 21.1 KB) - not displayed
dotty.lefty
(application/octet-stream, 30.6 KB) - not displayed
dotty_draw.lefty
(application/octet-stream, 30.4 KB) - not displayed
dotty_edit.lefty
(application/octet-stream, 17.4 KB) - not displayed
dotty_layout.lefty
(application/octet-stream, 9.6 KB) - not displayed