So in the same way this hierarchy
Can be represented by this XML
<plants>
<flowers>
<annuals />
<perennials />
</flowers>
<trees>
<conifers />
<deciduous />
</trees>
</plants>
Is there a data format (same category as XML, JSON, CSV, etc) that can represent a spanning tree (or a network of points with edges/bridges in graph theory) like this one:
So that programmatically it can be read, parsed, and manipulated (ultimately for the purposes of testing algorithms on them) just as XML and the others can be?