Skip to content

Commit

Permalink
docs: builders: images: deps_dot: add overrideScope
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Dec 10, 2024
1 parent 3dbf37f commit c151e09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/builders/images/deps_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ def addFlatEdge(g: Graph, n1: Node|CCluster, n2: Node|CCluster, **args):
addFlatEdge(graph, builder.cptBuilder.stage3_checkpoint, output.stage3_checkpoint)
addFlatEdge(graph, builder.cptBuilder.stage3_checkpoint, output.cpt)

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")

# Tweaks
addEdge(graph, builder.imgBuilder, builder.cptBuilder.qemu, color="transparent")
for i in range(5):
Expand Down

0 comments on commit c151e09

Please sign in to comment.