Skip to content

Commit

Permalink
docs: builders: images: deps_dot: add override
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Dec 12, 2024
1 parent b5ea002 commit 3769df8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/builders/images/deps_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ def addFlatEdge(g: Graph, n1: Node|CCluster, n2: Node|CCluster, **args):
overrideScope = addNode(outputs, "overrideScope", shape="oval", color="black", penwidth=2, fontsize=20)
addEdge(outputs, overrideScope, output, constraint=False)
addEdge(outputs, output.dts, overrideScope, color="transparent")
override = addNode(outputs, "override", shape="oval", color="black")
for attr in dir(output):
obj = getattr(output, attr)
if isinstance(obj, Node) and not attr.startswith("_"):
addEdge(outputs, override, obj, constraint=False, color="#00000022")

# Tweaks
addEdge(graph, builder.imgBuilder, builder.cptBuilder.qemu, color="transparent")
Expand Down

0 comments on commit 3769df8

Please sign in to comment.