Skip to content

Export mind maps as PNG, SVG, and Markdown outline #197

Open

Description

@epodol

Problem

There is no export. The only way to share a map is a live link, which requires the recipient to hit the app (and get an anonymous auth account). Roadmap ranks this the highest-impact, lowest-effort product gap: no sync-architecture entanglement.

Proposed approach

  • PNG/SVG export of the canvas. The map renders as SVG/DOM inside the zoom-pan container, so SVG serialization plus a canvas rasterization pass for PNG should cover both.
  • Markdown outline export of the node tree: walk from the root, indent by depth (- list items).
  • Surface as an Export entry in the existing map menu/side panel; downloads named after the map title.
  • Independent of the write-model work — reads only.

Acceptance criteria

  • PNG export downloads a correctly-cropped image of the full map (not just the visible viewport)
  • SVG export opens correctly in a browser and vector editors
  • Markdown export reproduces the tree structure and node text
  • Works on a map you only have view access to

References

ROADMAP.md section 11 (first bullet).

Activity

  1. epodol commented on Jul 7, 2026

    @epodol
    CollaboratorAuthor

    Landed on the revival branch in c0ceaf7 (part of #199): Export menu in the map bottom bar with PNG, SVG, and Markdown outline. SVG/PNG crop to the full map extent via getBBox() (not just the visible viewport) and inline background/font; Markdown walks the tree with cycle protection and orphan recovery. Read-only, so it works on view-only maps. Closes when #199 merges; the manual click-through on the PR covers verifying the three formats on a real map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproductProduct feature work

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions