<div dir="ltr"><div dir="ltr">Giacomo and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 10, 2021 at 4:05 AM Giacomo Uguccioni <<a href="mailto:giacomo.uguccioni@gmail.com">giacomo.uguccioni@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks a lot! <br><div>I would like to represent a shapefile or more shapefiles of nodes and connections (lines and points)</div><div>in a layout similar to an electrical scheme, a symbolic and conceptual scheme and not a geographical one.<br></div><div>I attached an image with qgis view and output that I would like to get.</div></div><br></blockquote><div><br></div><div>In your graph representation (version to the right in your sketch) how do you determine that A is the start node?  (and not 3 or 4?)</div><div><br></div><div>This kind of diagram is what Graphviz is built to represent.  You will need to convert your shapefiles to a Graphviz input program.  A reasonable starting approach might be to use some vector operations to get attribute tables that look like [from-node,to-node] along with the node attributes.  I suggest you study the Graphviz documentation, which is quite excellent and full of worked examples, to see how to draw the sketch you presented here, and then revisit your shapefiles to think about how to convert them to that format.<br></div></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>