Documentation / @expofp/schema / WfLine
Type Alias: WfLine
ts
type WfLine = object;One wayfinding graph edge — the raw form of GraphLine (wayfinding/core/types.ts); omitted booleans read as false and an omitted weight as the default line weight.
Type Declaration
Index Signature
ts
[key: string]: unknownp0
ts
p0: object = WfPointSchema;Index Signature
ts
[key: string]: unknownp0.layer?
ts
optional layer?: string;p0.x
ts
x: number;p0.y
ts
y: number;p1
ts
p1: object = WfPointSchema;Index Signature
ts
[key: string]: unknownp1.layer?
ts
optional layer?: string;p1.x
ts
x: number;p1.y
ts
y: number;unaccessible?
ts
optional unaccessible?: boolean;Excluded when routing accessible-only.
unidirection?
ts
optional unidirection?: boolean;One-way edge: no reverse link in oriented mode.
virtual?
ts
optional virtual?: boolean;A virtual (floor-transition) link rather than a physical path segment.
virtualLength?
ts
optional virtualLength?: number;Custom cost for virtual links ("Virtual length" in the designer).
weight?
ts
optional weight?: number;