1 Attachment(s)
Graph (nodes, edges) Drawing in Qt
I need to visualize a schematic transit map of a rail network in real time using C++ (Qt/Linux). To do that first I need to read the real coordinates of track elements (tracks, crossing, signals, stations etc) from main memory and then dynamically generate the corresponding graph elements over a Cartesian plane (like the parallel lines in the example picture below). So far I was unable to implement this graph in Qt (As far as I know there is no Qt library for graph drawing!!) :crying:
Is Qt is good for this kind of problem?
How can I read memory objects within Qt framework?
It would be highly appreciated if someone could refer me few example links/repos of similar (graph, network, circuit, mesh) problems done with Qt.
Attachment 8329
Re: Graph (nodes, edges) Drawing in Qt
Quote:
Originally Posted by
Sabbir
How can I read memory objects within Qt framework?
What exactly do you consider a "memory object"?
Quote:
It would be highly appreciated if someone could refer me few example links/repos of similar (graph, network, circuit, mesh) problems done with Qt.
Such graph as in your attachment should easily be created with Graphics View. If you need help with the graph itself, any C++ graphing library should work. Then it's just a matter of visualizing the graph in Qt.
Re: Graph (nodes, edges) Drawing in Qt