Skip to content

[Feature Request]: Embedding drawio attachments #12785

Description

@KorDum

Description

I like the edgeless mode of the document. It allows you to make very handy document boards. However, it is not suitable for complex diagrams (UML for example). At least in its current form.

The implementation of drawio diagrams in view mode in docs is sorely lacking. Drawio is a very powerful toolkit for diagrams, it even supports mermaid, it has a large number of implemented frameworks (Archmate for example), it supports layers, it can control the bending of arrows and so on.

Is it possible to build a simple drawio file integration? No editor needed, just a viewer based on this official library (https://viewer.diagrams.net/js/viewer-static.min.js).

Use case

In complex diagrams with complex figures and arrow paths.

Anything else?

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Activity

  1. added
    storyFeatures perceivable by end-users
    on Jun 11, 2025
  2. affine-issue-bot commented on Jun 11, 2025

    @affine-issue-bot

    Issue Status: 🆕 *Untriaged

    *🆕 Untriaged

    The team has not yet reviewed the issue. We usually do it within one business day.
    Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

    This is an automatic reply by the bot.

  3. Blackwidow-sudo commented on Jun 27, 2025

    @Blackwidow-sudo

    Would love to see this feature.
    Maybe docmost helps as a reference, they support draw.io, excalidraw & mermaid.

  4. stone-yu commented on Sep 28, 2025

    @stone-yu

    @hwangdev97 When is it expected to be completed?Would it be like docmost integrated drawio?

  5. stone-yu commented on Nov 28, 2025

    @stone-yu
  6. CyberMatmat commented on Dec 18, 2025

    @CyberMatmat

    +1

  7. Stormez1998 commented on Jan 2, 2026

    @Stormez1998

    Agree +1

  8. KingMac21 commented on Jan 7, 2026

    @KingMac21

    Agree +1

  9. spmp commented on Jan 21, 2026

    @spmp

    I would prefer to see the richness of draw.io in the diagram editor so it's native, and to be able to use the / command to insert a diagram into a doc. It could be fun to instruct claude-code to make this possible, and would require some thought as to UI layout.
    Thoughts? Is this a new Feature Request given the OP?

  10. stone-yu commented on Jan 22, 2026

    @stone-yu

    I would prefer to see the richness of draw.io in the diagram editor so it's native, and to be able to use the / command to insert a diagram into a doc. It could be fun to instruct claude-code to make this possible, and would require some thought as to UI layout. Thoughts? Is this a new Feature Request given the OP?

    I strongly agree with this idea. With the help of AI, we can generate code for various types of diagrams, not just draw.io, but also PlantUML, Mermaid, Excalidraw, and others. This kind of architecture makes it easier to leverage AI to improve efficiency.

  11. pvyswiss commented on Jan 22, 2026

    @pvyswiss

    would love it. both as file as an embed

  12. spmp commented on Feb 18, 2026

    @spmp

    So I went ahead and built the drawio functionality I thought AFFiNE was missing: See #14471

  13. Adcbda commented on Jun 1, 2026

    @Adcbda

    Agree +1

  14. added 3 commits that reference this issue on Sep 25, 2026
    531e7e6
    15bd158
    7633d7f
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

    storyFeatures perceivable by end-users

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions