Remove coordinate information on interaction

When we move/resize the node, either X,Y or W:H are displayed at the bottom of the node based on the interaction. Is there a way to remove them?

Thanks

1 Reply 1 reply marked as answer

AR Aravind Ravi Syncfusion Team December 31, 2020 07:37 AM UTC

Hi Sam, 

We have created a sample to disable default tooltip for the nodes. By using the selectedItems’s constraints we can able to restrict the tooltip. In the selected items constraints remove the tooltip constraints. Please refer to below code snippet and sample 

<DiagramComponent 
              id="diagram" 
              ref={diagram => (diagramInstance = diagram)} 
              width={"100%"} 
              height={"645px"} 
              nodes={sdlc} 
              selectedItems={{ 
                constraints: 
                  SelectorConstraints.All & ~SelectorConstraints.ToolTip 
              }} 
              connectors={connections} 
              snapSettings={{ constraints: SnapConstraints.None }} 
           
              <Inject services={[UndoRedo]} /> 
            </DiagramComponent> 


Regards 
Aravind Ravi 


Marked as answer
Loader.
Up arrow icon