Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Creating Flowchart dynamically through qt c++ qml
Forum Updated to NodeBB v4.3 + New Features

Creating Flowchart dynamically through qt c++ qml

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 907 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Libra
    wrote on 8 Dec 2021, 11:49 last edited by
    #1

    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 .

    1. Create new root node
    2. Add child nodes to left , right, top , bottom
    3. Created child node should be able to add more further node (tree level of 20 nodes vertically, horizontally)
    4. Create link line between parent and child node
    5. Delete any node dynamically and flowchart should adjust (reposition ) accordingly
    6. Create duplicate of selected node and add it parallel to that.

    Any idea about how to start with will be helpful.

    Thanks in advance !!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 8 Dec 2021, 15:12 last edited by
      #2

      You can start from this example
      https://doc.qt.io/qt-5/qtwidgets-graphicsview-elasticnodes-example.html

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Libra
        wrote on 14 Dec 2021, 13:03 last edited by
        #3

        Hi @JoeCFD , Thanks for the reply
        I am looking for the solution to draw flowchart in qml actually and backend will come from c++ .

        1 Reply Last reply
        0
        • G Offline
          G Offline
          GrecKo
          Qt Champions 2018
          wrote on 14 Dec 2021, 13:12 last edited by
          #4

          Take a look at http://cneben.github.io/QuickQanava/index.html

          1 Reply Last reply
          0

          1/4

          8 Dec 2021, 11:49

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved