GraphMLExporter.write_data#

GraphMLExporter.write_data(data, target, *, context=None)[source]

Write a NetworkX graph to a GraphML file.

Parameters:
  • data (AssetGraph) – The graph to write.

  • target (str | Path) – The target GraphML path.

  • context (IOContext | None) – Optional import/export customisation.

Return type:

None