-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
Description
The NodePortOffset { X = 0, Y = 0 } seems not to work correctly.
It centeres the port inside the node. I expected a left and top alignment.
// outside the node on the left top
ports.Add(new DiagramPort { Visibility = PortVisibility.Hover, Shape = PortShapes.Square, Offset = new NodePortOffset { X = -0.1, Y = -0.1 } });
// inside the node on the left top
ports.Add(new DiagramPort { Visibility = PortVisibility.Hover, Shape = PortShapes.Square, Offset = new NodePortOffset { X = 0.1, Y = 0.1 } });
// inside the node centered and middled
ports.Add(new DiagramPort { Visibility = PortVisibility.Hover, Shape = PortShapes.Square, Offset = new NodePortOffset { X = 0, Y = 0 } });