Hi, I second Chris's proposal. Using graphviz python module [1], you can generate your graph by iterating over the features.
At the end, just call the render and you will get the rendered graph (just add view=True) within your QGIS environment. You need to know some Python basic stuff, but not much than the basic. Regards, Jorge Gustavo [1] https://graphviz.readthedocs.io/en/stable/manual.html Às 18:55 de 09/02/21, chris hermansen escreveu: > Giacomo and list, > > On Tue, Feb 9, 2021 at 8:07 AM Giacomo Uguccioni > <[email protected] <mailto:[email protected]>> wrote: > > Hello everyone, and thanks for the support. > If this is not the place to ask for this kind of thing, I ask you > to give me a link where I could find support. > I'm a qgis 3.14 user. I would like to represent a tree diagram or > functional diagram being able to draw the symbology and position > of nodes and connections from the information contained in the > attribute table. Example: I would like to represent the medium > voltage grid of a city as an electrical diagram; I would like to > represent with lines that join at nodes the roads that connect > certain houses and schools in a city. So my goal is to be able to > build a layout with symbology of nodes and connections derived > from information contained in different shapefiles or within > features, with a non-geographic but schematic / ideal criterion. > Do you have any ideas or suggestions on how to do it? I thank you > for every contribution. > > > Not a QGIS-based solution, but I've used graphviz > <https://graphviz.org/> to generate graphs from the command line with > considerable success. It offers a small but useful programming > language that can be combined with data in text files in a really > useful way. > > -- > Chris Hermansen · clhermansen "at" gmail "dot" com > > C'est ma façon de parler. > > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- Email Signature Logo <https://www.geomaster.pt> *Geomaster* *Jorge Gustavo Rocha* | Software Engineer *e:*[email protected] | *m:*+351 910 333 888 *g:*41.54094,-8.40490 | *v: *510 906 109 *a: * Rua António Cândido Pinto, 67, 4715-400 Braga
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
