IORegistry.with_exporter#
- IORegistry.with_exporter(kind, format, exporter)[source]
Return a copy of the registry with an additional exporter.
- Parameters:
kind (GraphKind) – The graph kind.
format (str) – The IO format.
exporter (type[GraphExporter]) – The exporter class to register.
- Returns:
A new registry containing the additional exporter.
- Return type: