Is it possible to show tool tip which look like a “Callout” instead of default rectangle.
Any easy way to just apply some CSS and and in all diagrams it gets reflected without any code change.
Note - Aware about with html tooltip, it should be possible - but with html toop-tip, i have another issue that when the control is on the rightmost side in diagram, the tool tip is not visible completely due to overflow, so using the default template behavior with custom template set which uses rectangle.
I am using GoJS objects.
And looking for easy option without code change changing style background or other thing like this sample which uses canvas . So any change in style will reflect in all gojs diagrams where it get reflected.
When tooltips (or context menus) are implemented as GoJS objects, they are instances of Adornment that have Panels/TextBlocks/Shapes/Pictures in them. No HTMLDivElements are involved.
Yes, that is how to change what the “ToolTip” builder creates. I think you want the Shape.geometry to have the “pointer” that you want, but the details of the geometry should vary depending on the relative position of the tooltip content with the node being adorned.