Hi Mounika,
In Diagram by default when you set a tooltip for a node the custom tooltip will show only when mouse over on node. Otherwise while performing basic interaction for node (E.g. Resizing, Rotating, Dragging) default tooltip(X: 200, Y: 200) only show. To hide the tooltip remove tooltip constraints from the diagram selected items. So that when you resize or drag the node, the tooltip does not show. Please find below code snippet for how to hide tooltip for diagram elements
|
<EjsDiagram ID="diagram" Width="1000px" Height="@Height" @ref="@diagram" Nodes="@NodeCollection" SelectedItems="@selectedItems">
<DiagramEvents SelectionChanged="@SelectionChange"></DiagramEvents>
</EjsDiagram>
@functions
{
DiagramSelectedItems selectedItems = new DiagramSelectedItems() { Constraints = ~SelectorConstraints.ToolTip };
} |
Regards
Aravind Ravi