getPortAnchors abstract method

List<PortAnchor> getPortAnchors(
  1. Size size
)

Gets the port anchor points for this shape.

Port anchors define where ports can attach to the node. Each anchor specifies a position and the offset where a port should be placed.

Parameters:

  • size - The size of the node

Returns a list of PortAnchor objects defining attachment points.

Implementation

List<PortAnchor> getPortAnchors(Size size);