Skip to content

Excalidraw Edit Permalink via JSON URL Serialization #29

Description

@divideby0

Summary

Generate a permalink that opens an Excalidraw document directly in the Excalidraw editor using the JSON URL format. This allows users to click a link from the Decision component and land in Excalidraw with the diagram pre-loaded for editing.

Context

Excalidraw supports encoding scene JSON into URLs that open directly in the editor. This feature would let us serialize a Polygraphs/Decision component diagram into that format and provide an "Edit in Excalidraw" link.

Acceptance Criteria

  • Given a rendered graph/diagram, generate a valid Excalidraw JSON URL permalink
  • Clicking the permalink opens Excalidraw with the full diagram loaded and editable
  • URL encoding handles the scene elements, app state, and any embedded data

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions