@graphty/graph-io / styles / StyleWriteCapabilities
Interface: StyleWriteCapabilities ​
Defined in: styles/types.ts:1437
What a format's writer can hold: per target, the properties it writes natively, and where the graphty.styles block and the tagged per-element values go: "native" (the exporter places them itself), "attributes" (graph-io adds them to the snapshot as a graph attribute and element attributes) or "none".
Properties ​
block ​
readonlyblock:"attributes"|"none"|"native"
Defined in: styles/types.ts:1450
Where the block and the tagged values go.
edge ​
readonlyedge: readonlyEdgeStyleProperty[]
Defined in: styles/types.ts:1441
Edge properties written natively.
graph? ​
readonlyoptionalgraph?: readonly"background"[]
Defined in: styles/types.ts:1443
Graph properties written natively.
node ​
readonlynode: readonlyNodeStyleProperty[]
Defined in: styles/types.ts:1439
Node properties written natively.
tool? ​
readonlyoptionaltool?:StyleTool
Defined in: styles/types.ts:1448
The program that draws the files this writer writes, when there is one. A graph property the format has no place for is not reported lost when its value is what that program draws anyway (its tool default).