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.

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.
asked May 10, 2017 in Help by Andrea (120 points)
closed May 10, 2017 by thomas.behr

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.)
 

answered May 10, 2017 by thomas.behr [yWorks] (124,270 points)
Imprint | Privacy Policy