SVG Manipulation

Hello,

Is it possible to add behaviours over the rendered SVG of the diagram?

Something like adding a tooltip when the mouse is over a Node.

Thanks!

Implement the http://gojs.net/latest/api/symbols/Diagram.html#makeSvg elementFinished event handler in order to add whatever attributes you like to the SVGElement that was created for that GraphObject. So your event handler might want to check that the given GraphObject is an instanceof go.Node before it does anything.

[QUOTE=walter]Implement the http://gojs.net/latest/api/symbols/Diagram.html#makeSvg elementFinished event handler in order to add whatever attributes you like to the SVGElement that was created for that GraphObject. So your event handler might want to check that the given GraphObject is an instanceof go.Node before it does anything.
[/quote]

Outstanding!
Works!

Thanks!