IORegistry.formats#
- IORegistry.formats(kind, *, direction='export')[source]
Return registered formats for a graph kind.
- Parameters:
kind (GraphKind) – The graph kind.
direction (str) – Either
"export"or"import".
- Returns:
The registered format names sorted alphabetically.
- Return type:
list[str]
- Raises:
ValueError – If
directionis not supported.