io

io.exportData

exportData(): GraphData

Export only the structural node and edge data, without any visual state.

Returns a plain GraphData object (deep copy). Suitable for serialising graph topology to a backend or another tool.

Not recorded in history (not undoable).

Returns: GraphData