python/graph: rework shorten_vertex_names to not need edges
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 1 Jun 2018 04:39:19 +0000 (16:39 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 10 Jun 2018 17:02:20 +0000 (19:02 +0200)
commit6813e1b3c28276721ba7ae49a97ccbdb60d583a7
tree0130d13e0b16bb2bb09db6b95405cd0bbb20d96e
parent4f7638f8aba737240352199cc253dbd286f7907c
python/graph: rework shorten_vertex_names to not need edges

This will be necessary for the forthcoming full_matrix function.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/graph.py