Skip to content

BlockSuite API Documentation / @blocksuite/blocks / PathGenerator

Class: PathGenerator

Extended by

Constructors

new PathGenerator()

new PathGenerator(): PathGenerator

Returns

PathGenerator

Properties

_aStarRunner

protected _aStarRunner: null | AStarRunner

Defined in

packages/affine/block-surface/dist/managers/connector-manager.d.ts:52

Methods

_prepareOrthogonalConnectorInfo()

protected _prepareOrthogonalConnectorInfo(connectorInfo): [IVec, IVec, IVec, IVec, null | Bound, null | Bound, null | Bound, null | Bound]

Parameters

connectorInfo

OrthogonalConnectorInput

Returns

[IVec, IVec, IVec, IVec, null | Bound, null | Bound, null | Bound, null | Bound]

Defined in

packages/affine/block-surface/dist/managers/connector-manager.d.ts:53


generateOrthogonalConnectorPath()

generateOrthogonalConnectorPath(input): IVec[]

Parameters

input

OrthogonalConnectorInput

Returns

IVec[]

Defined in

packages/affine/block-surface/dist/managers/connector-manager.d.ts:63