Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Add a tooltip on mousehover to a yfiles.graph.ILabel

0 votes

Hi all, sorry if this question is too trivial, but I really can't find a way of doing this.

I have instantiated a label to a graph's node, this way:

var /**yfiles.graph.ILabel*/ label = graph.addLabelWithParameterStyleAndTag(
selectedNode,
labelModel.createParameter(yfiles.drawing.InteriorStretchLabelModel.Position.NORTH), 
simpleLabelStyle,
sessionStorage.listaBanche.toString(),
"Raccordo"
);
Now, I'd like to have the text also as its tooltip if I place the mouse cursor over it.
 
I've did this on my yfiles.input.GraphEditorInputMode object:
 
editorInputMode.toolTipItems = yfiles.graph.GraphItemTypes.ALL;
 
But i think it's not sufficient. Thank you.
closed with the note: Not a yEd question.
in Help by (120 points)
closed by

1 Answer

0 votes

This forum is for yEd questions only. For questions regarding the yFiles for HTML programming library, please contact yWorks support by mail. (Please include your yWorks customer or evaluator ID in your mail when doing so.)
 

by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...