Skip to content

@graphty/graph-io / styles / CytoscapeStylesheetOptions

Interface: CytoscapeStylesheetOptions ​

Defined in: styles/cyjs/emit.ts:66

Options of toCytoscapeStylesheet().

Properties ​

importId? ​

readonly optional importId?: string

Defined in: styles/cyjs/emit.ts:71

Scopes the stylesheet to one import: every element gets graphty_import: <importId> in its data and every selector tests it. Quotes and backslashes are replaced with _, in the data and the selectors alike.