Port automatic layout

hi,

is there a way to position the ports automatically within the available space when only providing one value (x or y)?

In this case I would like to provide only Y=1 and x should calculated automatically depending on the size of the ports, width of the node and port-count.

--0--0--0--0--0--0--

best regards

Tobias


1 Reply

AR Aravind Ravi Syncfusion Team December 6, 2021 12:42 PM UTC

Hi Tobias, 

By default, in the diagram, the ports gets arranged based on the given offsetX and offsetY. We do not have any support to automatically arrange the ports inside the node. If you want to place the port means then set the x and y point for the node. 

Regards 
Aravind Ravi 


Loader.
Up arrow icon