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.
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 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).
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
@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!
For now there are no plans to introduce this type of diagrams, maybe it can be possible after public release but not earlier. But we are working on already existing graph experience to make it more useful.
Ability to add diagram only is not sufficient as I think. Anytype needs a visual collaboration boards like Miro as object.
Where you can create mind maps and easily connect any objects over mind maps. You can create diagrams too in Miro, like you need an ability to add diagrams.
As a workaround, you can create a mermaid diagram at https://mermaid.live/ and then under “Actions” (bottom of the page) click “Copy Markdown” and paste it into Anytype. This should render the diagram as an image link in Anytype.
The graph view is built on D3, and I’m wondering if there’s a diagram solution that’s also built on it. It wouldn’t really be a natural fit, but D3’s shape, interaction, and layout libraries aren’t the worst foundation in the world, so someone might have done it.
If they have, it might help judge the feasibility of Anytype building a diagram solution that works on D3. This could have a lot of benefits. For one, it could make the diagram solution integratable with the graph view, something no external solution could possibly offer. For another, it means users and developers skilled in D3 will be able to apply the knowledge more deeply when they work Anytype itself or on extensions for it.
I believe that mermaid.js uses d3.js for drawing. This is quoted from their GitHub repo: “Many thanks to the d3 and dagre-d3 projects for providing the graphical layout and drawing libraries!”