Skip to content

@eightkk/vue-weave / core / GraphAlignment

Interface: GraphAlignment ​

Defined in: src/core/graphSnapping.ts:18

The shift that aligns a moving rectangle with its nearest neighbours, and the guides of the aligned position.

Properties ​

dx ​

dx: number

Defined in: src/core/graphSnapping.ts:19


dy ​

dy: number

Defined in: src/core/graphSnapping.ts:20


guides ​

guides: GraphAlignmentGuide[]

Defined in: src/core/graphSnapping.ts:21

Released under the MIT License.