Skip to content

[Feature Request]: Adding Draw.io diagrams #1516

Description

@Kikkerslijm410

Problem / use case

Currently, diagrams can be added using the existing diagram functionality, but the available options are quite limited. For more advanced use cases, users need additional diagramming capabilities, templates, and editing options.

Draw.io provides a mature and widely adopted diagram editor with support for flowcharts, network diagrams, architecture diagrams, UML, BPMN, and many other diagram types. It is intuitive to use and offers significantly more flexibility than the current implementation.

Proposed behavior

Implement Draw.io integration similar to the existing Wiki.js implementation.

Suggested functionality:

  • Create and edit Draw.io diagrams directly within LeafWiki.
  • Store diagram files alongside other wiki content.
  • Embed diagrams into pages using a dedicated block or editor integration.
  • Allow reopening and editing embedded diagrams at any time.
  • Support exporting diagrams to common formats such as PNG and SVG.
  • Preserve version history through the existing page/file versioning mechanisms where possible.

This would provide users with a powerful and familiar diagramming experience while maintaining a seamless workflow inside the wiki.

Is this ready to be implemented, or does it need discussion first?

Ready to be implemented.

The requested functionality already exists in similar platforms such as Wiki.js, providing a proven implementation approach and reducing uncertainty around scope and usability.

Activity

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 request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions