Ability to add diagrams (diagram editor)

Is your feature request related to a problem? Please describe.

Some things are better drawn than explained. For example networking topology. A way to make diagrams directly in anytype would help for such things.

Describe the solution you’d like

I know that [draw.io ](https://www.diagrams.net/) can be integrated in applications. Used it in Bookstack for a longer time.

Would be nice to create and edit a diagram from anytype or start the draw.io app from anytype and somehow directly import the new or changed diagram. Thats nearly how it works in [Bookstack](https://www.bookstackapp.com/).

Additional context

Of course it wouldnt be good way to import the whole draw.io app into anytype or something similiar and not anybody would need it. So maybe make it optional or maybe in the future, if plugins or optional packages become a thing in anytype.

[Github for the source code of the app](GitHub - jgraph/drawio: Source to app.diagrams.net)


Another application similar to draw.io is [coggle.it](https://coggle.it/). However, I am unsure if it can be integrated with anytype or not. The developer team may look into this.


This would be amazing

1 Like

Also https://excalidraw.com/ :slight_smile:

Mermaid support would be extremely helpful and would fit with the markdown model of AnyType https://mermaid-js.github.io/mermaid/#/

This may be a duplicate but I made this https://community.anytype.io/d/725-mermaid-graph-support to better track specifically Mermaid support. Both are of interest imo, but this one seems focused on more of a package integration with existing tools.

Edit by @sambouwer: I merged your topic into this topic (see posts below).

1 Like

Would be great to have an integrated tool similar to Monodraw, to create diagrams, mindmaps, etc. inline with text, which could be easily exported to markdown.

Basic shapes:

  • ellipse
  • rectangle
  • line

Unlike ASCII Flow shapes in Monodraw are groups of chars that can be moved together on the canvas.



Please forgive me for making a post, I know I mentioned it in a comment but I figure an individual post would make it easier to track interest

Is your feature request related to a problem? Please describe.

I think it’d be pretty great if we could build graphs in AnyType, most graph platforms are clunky or have massive UI implications, one that I really like is Mermaid, the graphs are built using a markdown like syntax, and generated on device

Describe the solution you’d like

Implementing https://mermaid-js.github.io/mermaid/#/ inside the editor would be awesome

Describe alternatives you’ve considered

I saw someone talk about something like draw.io but imo that’s too much of it’s own product to fully package into AnyType in a nice elegant way

Additional context

Mermaid supports all kinds of graphs, it’s basically a wrapper around .dot files, but it’s quite nice because it’s easily interpreted by humans

A->B would create a graph with two vertices, with an edge connecting them, this can scale for large complex diagrams too.


@fyne You are always welcome, even encouraged, to post uniquely different requests as their own Topic here. They are easier to track and prioritize that way. Thanks for the idea!

1 Like

@fyne +1 for your idea.

Mermaid is so powerful for sequence diagram and class diagram. some editors of mardown already integrate it.


This would make a great plugin. Adding to https://community.anytype.io/t/-/1397

Mermaid is well supported by many other tools like notion and obsidian. It works as an additional Markdown code block.
Something like:

Graph TD

can make a great flowchart.

Hope to see Anytype support this in the future.