And if someone prefers a visual example, a simple setup like node1 <-> node2 <-> node3 results into a dot-file like this:
digraph { "22:05:f9:aa:77:1f" -> "a2:14:84:e5:e5:46" [label="1.15"] "22:05:f9:aa:77:1f" -> "00:ff:5b:62:9c:a3" [label="HNA"] subgraph "cluster_22:05:f9:aa:77:1f" { "22:05:f9:aa:77:1f" [peripheries=2] } "6a:25:1f:a0:14:72" -> "4e:18:87:ef:80:12" [label="1.0"] "6a:25:1f:a0:14:72" -> "00:ff:2c:c8:bd:d5" [label="HNA"] subgraph "cluster_6a:25:1f:a0:14:72" { "6a:25:1f:a0:14:72" [peripheries=2] } "a2:14:84:e5:e5:46" -> "22:05:f9:aa:77:1f" [label="1.0"] "4e:18:87:ef:80:12" -> "6a:25:1f:a0:14:72" [label="1.15"] "a2:14:84:e5:e5:46" -> "00:ff:5e:e0:23:15" [label="HNA"] subgraph "cluster_a2:14:84:e5:e5:46" { "a2:14:84:e5:e5:46" [peripheries=2] "4e:18:87:ef:80:12" } }
Which can then be parsed to a nice svg with fdp (or dot): http://krtek.asta.uni-luebeck.de:8080/~tux/batman-vis-with-subgraph.svg