Creating Flowchart dynamically through qt c++ qml
Unsolved
QML and Qt Quick
-
Hello ,
I am looking for the solution to create flowchart at runtime in qml, data will come from C++ side . there are few operation I want to do with flowchart .
- Create new root node
- Add child nodes to left , right, top , bottom
- Created child node should be able to add more further node (tree level of 20 nodes vertically, horizontally)
- Create link line between parent and child node
- Delete any node dynamically and flowchart should adjust (reposition ) accordingly
- Create duplicate of selected node and add it parallel to that.
Any idea about how to start with will be helpful.
Thanks in advance !!
-
You can start from this example
https://doc.qt.io/qt-5/qtwidgets-graphicsview-elasticnodes-example.html -
Take a look at http://cneben.github.io/QuickQanava/index.html