8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e1b809 commit 165df0bCopy full SHA for 165df0b
run/system-package/main.py
@@ -48,12 +48,15 @@ def index():
48
49
# [START run_system_package_exec]
50
def create_diagram(dot):
51
+ # Generates a diagram based on a graphviz DOT diagram description.
52
if not dot:
53
raise Exception('syntax: no graphviz definition provided')
54
- dot_args = [ # usr/bin/dot is a system package in the container
55
- '/usr/bin/dot', # Command to run
56
- '-Glabel=Made on Cloud Run', # Args
+ dot_args = [ # Uses local `dot` binary from Graphviz:
+ # https://graphviz.gitlab.io
57
+ '/usr/bin/dot',
58
+ # Adds a watermark to the dot graphic.
59
+ '-Glabel=Made on Cloud Run',
60
'-Gfontsize=10',
61
'-Glabeljust=right',
62
'-Glabelloc=bottom',
0 commit comments