Tobias Triesch
Tobias Triesch

Reputation: 162

Graphviz labels appearing if you hover over them?

I am currently using graphviz through Python 3.x to visualize a digraph with info on the nodes and edges as graphviz-labels. This gets crowded, quite fast. Therefore, I was wondering whether there is a possibility to have the label info appear when you hover your cursor over the corresponding node or edge?

With kind regards, Tobi

Edit: I have given up on that issue for now. I looked into the python-graphviz-package, but to me it seemed as if the tooltip-parameter does not get passed on properly.

Upvotes: 0

Views: 1963

Answers (1)

sroush
sroush

Reputation: 6763

You did not mention your desired output format. If you are producing SVG output, read the attribute documentation about tooltip.

somenode [label="small" tooltip="thanks for asking, over the last few years..."]

Upvotes: 2

Related Questions