NodeLinkExporter#
- class eclypse.io.defaults.node_link.NodeLinkExporter[source]#
Bases:
NetworkXExporterExporter for NetworkX node-link JSON files.
Methods
write_data(data, target, *[, context])Write a NetworkX graph to node-link JSON.
- write_data(data, target, *, context=None)[source]#
Write a NetworkX graph to node-link JSON.
- Parameters:
data (AssetGraph) – The graph to write.
target (str | Path) – The target JSON path.
context (IOContext | None) – Optional import/export customisation.
- Return type:
None