spacr.flowview.export¶
Deterministic, Qt-free SVG, HTML, and JSON exports for FlowView.
Functions¶
|
Write a deterministic SVG, HTML, or JSON representation of graph. |
|
Render one self-contained HTML record containing SVG and inspector. |
|
Render graph as a standalone SVG string with editable text. |
Module Contents¶
- spacr.flowview.export.export(graph: spacr.flowview.model.RunGraph, path: str | os.PathLike[str], fmt: str = 'svg') pathlib.Path[source]¶
Write a deterministic SVG, HTML, or JSON representation of graph.
- spacr.flowview.export.render_html(graph: spacr.flowview.model.RunGraph) str[source]¶
Render one self-contained HTML record containing SVG and inspector.
- spacr.flowview.export.render_svg(graph: spacr.flowview.model.RunGraph) str[source]¶
Render graph as a standalone SVG string with editable text.