Skip to content
D
Documentation

Commands — types

reference
1 min readUpdated

Types

Import these from @grafloria/engine.

Types

AlignEdge

Also has every member of String, listed on its own entry.

ts
type AlignEdge = 'left' | 'right' | 'top' | 'bottom' | 'center-x' | 'center-y';

DistributeAxis

Also has every member of String, listed on its own entry.

ts
type DistributeAxis = 'horizontal' | 'vertical';

LinkEndpoint

Also has every member of String, listed on its own entry.

ts
type LinkEndpoint = 'source' | 'target';

LinkPathType

Also has every member of String, listed on its own entry.

ts
type LinkPathType = 'direct' | 'orthogonal' | 'smooth' | 'bezier';

Was this page helpful?

Commands — types — Grafloria