Skip to content

@graphty/cytoscape-extensions / io / ImportedElements

Interface: ImportedElements ​

Defined in: cytoscape-extensions/src/io.ts:72

A file read into Cytoscape element definitions.

Properties ​

directed ​

readonly directed: boolean

Defined in: cytoscape-extensions/src/io.ts:76

Whether the file's graph is directed: pass it as directed to the algorithms.


elements ​

readonly elements: ElementDefinition[]

Defined in: cytoscape-extensions/src/io.ts:74

The nodes, then the edges.


format ​

readonly format: string

Defined in: cytoscape-extensions/src/io.ts:78

The format the input was read as.


report ​

readonly report: ImportReport

Defined in: cytoscape-extensions/src/io.ts:80

graph-io's report: counts, warnings, and what could not be represented.