Skip to content

@graphty/graph-io / styles / isStyleSlotColumn

Function: isStyleSlotColumn() ​

isStyleSlotColumn(meta): boolean

Defined in: styles/slots.ts:19

Whether an imported column holds the file's own style slots rather than data: the bypasses of a CX or CX2 file, and the <graphics> block of an XGMML element (or a Cytoscape session's). An application that draws the file's styles from extractStyles() leaves these columns off its records, since the styles carry them.

Parameters ​

meta ​

ColumnMeta

the column's metadata

Returns ​

boolean

true for a style slot