Skip to content

New: Add SVG export#111

Open
AlexIchenskiy wants to merge 1 commit into
release/1.0.0from
new/add-svg-export
Open

New: Add SVG export#111
AlexIchenskiy wants to merge 1 commit into
release/1.0.0from
new/add-svg-export

Conversation

@AlexIchenskiy

Copy link
Copy Markdown

This PR adds SVG export using view.getSVG() on the default view, and graphToSVG(graph) standalone. It serializes nodes and edges with their styling and node images (embedded as data URIs, so the output is self-contained).

However, OrbMapView isn't supported as without the map tiles the SVG would just be the bare graph, so getSVG() there throws instead of returning something half-useful.

@AlexIchenskiy AlexIchenskiy self-assigned this Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant