Winter Cardinal UI - v0.442.0 / EShapeConnectors

Class: EShapeConnectors

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new EShapeConnectors(): EShapeConnectors

Returns

EShapeConnectors

Properties

_MAPPING

Static Protected Optional _MAPPING: Map<EShape, EShape>

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connectors.ts:11

Methods

isConnector

isConnector(target): target is EShapeConnector

Parameters

Name Type
target null | EShape

Returns

target is EShapeConnector

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connectors.ts:13


move

move(from, to): void

Parameters

Name Type
from EShape
to EShape

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connectors.ts:95


moveAll

moveAll(rootSources, rootDestinations, sources, destinations, mapping?): undefined | Map<EShape, EShape>

Parameters

Name Type
rootSources EShape[]
rootDestinations EShape[]
sources EShape[]
destinations EShape[]
mapping? Map<EShape, EShape>

Returns

undefined | Map<EShape, EShape>

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connectors.ts:35


newMapping

newMapping(sources, destinations, result?): Map<EShape, EShape>

Parameters

Name Type
sources EShape[]
destinations EShape[]
result? Map<EShape, EShape>

Returns

Map<EShape, EShape>

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connectors.ts:17