feat: cross-site location overview in a single diagram
New topology scope 'Lokationsübersicht standortübergreifend' draws all locations of all sites in scope as one graph, with site and parent location on each node, to show how buildings and locations connect. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
4405a65653
commit
9735164da1
7 files changed
+17
-7
No files matched your search
@@ -612,6 +612,8 @@ def topology(scope, opts):
|
||||
if "locations" in scopes:
|
||||
locs = build_location_graphs(scope, opts)
|
||||
pages += [(([H(2, "Lokationsübersicht")] if i == 0 else []) + [H(3, g.title)], g) for i, g in enumerate(locs)]
|
||||
if "locations_all" in scopes:
|
||||
pages += [([H(2, "Standortübergreifende Lokationsübersicht")], g) for g in build_location_graphs(scope, opts, combined=True)]
|
||||
if "rack" in scopes:
|
||||
racks = build_graphs(scope, opts, per="rack")
|
||||
# Rack-Seiten unter einer gemeinsamen Zwischenüberschrift, Racks selbst eine Ebene tiefer (kürzeres Inhaltsverzeichnis)
|
||||
|
||||
Reference in new issue
Block a user