Skip to main content

ConstantSpacePositioner

ConstantSpacePositioner<T>

Overview needed

Template Parameters

  • T extends Port – *Description needed*

Constructor

public ConstantSpacePositioner

new ConstantSpacePositioner(dir, spacing, shortenEdges)

*Description needed*

Parameters

  •  dir: "left" | "right" | "bottom" | "top"Description needed

  •  spacing: numberDescription needed

  •  shortenEdges: false | trueDescription needed


Properties

public spacing: number

Description needed


Methods

public updatePortPositions

updatePortPositions(ports) => void

Port positioning for constant spacing that doesn't depend on the parent's size.

Parameters

  •  ports: T[] – The array of input ports.

Static Methods

No static methods for ConstantSpacePositioner