Skip to content

@graphty/graph-io / @graphty/graph-io/json / dialectCapabilities

Function: dialectCapabilities() ​

dialectCapabilities(dialect): ExportCapabilities

Defined in: formats/json/dialect.ts:395

What one dialect can express: positions and visual columns are written as plain attributes (an array for a multi-component column) and read back without their role, except Cytoscape's position object; containment only as the Cytoscape data.parent; mixed direction only where the dialect carries a per-edge flag (JGF directed, graphology undirected); edge ids where the dialect has a slot (not node-link / d3); nothing temporal; graph attributes everywhere but d3 (the bare shape) and vis.

Parameters ​

dialect ​

JsonDialect

the dialect

Returns ​

ExportCapabilities

its frozen capability table