mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
Merge a860d6af37
into fbbdb3807c
This commit is contained in:
commit
f606d807ae
@ -55,7 +55,7 @@ class TopologyMapView(APIView):
|
||||
subgraph = pydot.Subgraph('sg{}'.format(i), rank='same')
|
||||
|
||||
# Add a pseudonode for each device_set to enforce hierarchical layout
|
||||
subgraph.add_node(pydot.Node('set{}'.format(i), shape='none', width='0', label=''))
|
||||
subgraph.add_node(pydot.Node('set{}'.format(i), shape='none', width='0'))
|
||||
if i:
|
||||
graph.add_edge(pydot.Edge('set{}'.format(i - 1), 'set{}'.format(i), style='invis'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user