Skip to content

@graphty/graphty-element / schema / EdgeLinePattern

Type Alias: EdgeLinePattern ​

EdgeLinePattern = NonNullable<NonNullable<EdgeStyleConfig["line"]>["type"]>

Defined in: graphty-element/src/catalog/types.ts:519

The values the "edge.style" channel accepts.

DERIVED FROM THE SCHEMA THE MESH BUILDER READS, never written out here. This name used to be a hand-typed list of nine -- "dashed", "dotted", "long-dash" and five more the edge renderer has never had a mesh for -- while omitting seven it does have, so a consumer who typed a value this type accepted got a layer the element refused, and the one place that noticed was a test asserting the discrepancy still existed.