jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.65k stars 722 forks source link

Collapsible/Expandable Flow #369

Open jf19742016 opened 2 years ago

jf19742016 commented 2 years ago

Hello, is is possible to have collapsible nodes e.g. could you have a flow and then you could double click the node and child nodes could expand. So if you had a big diagram you could collapse parts of it and then expand as needed - possibly dynamically?

Thanks

jerosoler commented 2 years ago

By default it is not allowed to do.

But it is only about hiding nodes and connections, so it could be done.

Or you could also load another drawflow editor inside a node.

RaviGuggilam commented 2 years ago

so, after loading drawflow editor inside a node. The below one is possible... I have a node inside another node & want to tag to parent node sibling node like below. Image added for reference.

Untitled Diagram drawio

jerosoler commented 2 years ago

@RaviGuggilam view:

RaviGuggilam commented 2 years ago

can we add node inside another node ???

jerosoler commented 2 years ago

It's not possible

RaviGuggilam commented 2 years ago

363 , can we add yes or not buttons dynamically ???

jerosoler commented 2 years ago

Please don't use other issues, for unrelated issues.

The buttons can be added with javascript. Nodes are simple html div's. view: