Diagram Node Placement

Hi,
we have a diagram layout where we override the DoLayout method and if we have X and Y values, we simply place nodes on the diagram. If we do not have an X and Y value, I am wondering if there is a way to ‘ask’ the diagram if there is a place that will fit the new node so that it will not ‘invade’ other nodes space on the diagram?? Thanks!

You can call Diagram.Panel.FindPartsIn to see if there are any Nodes that overlap a given rectangular area.