pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

FlowChart in v7

Open jeremy-larose opened this issue 2 years ago • 3 comments

Hey all, loving the work you guys are doing on this project!

Curious about the mermaid flows node, is that ported to v7? I would love to be able to programmatically template a diagram, as well as have the ability to drop an edge and create nodes on the fly to extend those.

jeremy-larose avatar Apr 29 '23 23:04 jeremy-larose

Hey, Jeremy. The Mermaid functionality is new with v7. That's not a project I'm actively involved in at the moment, but I'll check on the status. There should be some basic functionality in there.

Do you mind expanding on your use case a little bit? There's an on:edgeDrop event on the Svelvet component that may be useful for what you're looking to do. We'll add one that's scoped to particular Nodes/Anchors soon.

briangregoryholmes avatar Apr 30 '23 02:04 briangregoryholmes

Thanks for the follow-up!

Re: extensibility, there are several visual editing tools out there (Miro, etc.) that will let you convert mermaid syntax into a visual diagram, but none (that I can find) that would convert to a node graph that would let you customize it by adding more nodes/edges/etc after-the-fact.

That, and to be able to re-export it back to mermaid, would be very cool -- the ability to go from markdown to visual editor back to markdown.

jeremy-larose avatar Apr 30 '23 05:04 jeremy-larose

Ooh. Interesting. I think we could enable something like that once the save/restore feature is released. I'll let you know when more progress is made around this feature.

briangregoryholmes avatar Apr 30 '23 13:04 briangregoryholmes