Skip to content

Instantly share code, notes, and snippets.

@LaikaN57
Created July 22, 2022 02:57
Show Gist options
  • Save LaikaN57/d654569aec07029535789e6a206380a0 to your computer and use it in GitHub Desktop.
Save LaikaN57/d654569aec07029535789e6a206380a0 to your computer and use it in GitHub Desktop.
digraph g {
rankdir=LR
splines=line
node [shape=rect]
subGraph cluster_dataflow {
label = "Data Flow"
labelloc = b
bucket [fillcolor=darkgreen, style=filled]
crawler [fillcolor=purple, style=filled]
database [fillcolor=purple, style=filled]
table_status [fillcolor=purple, style=filled]
}
lambda_permission [fillcolor=orange, style=filled]
lambda_role [fillcolor=red, style=filled]
lambda [fillcolor=orange, style=filled]
crawler_role [fillcolor=red, style=filled]
bucket -> lambda [label="(notify)", style=dashed]
lambda -> crawler [label="(run)", style=dashed]
bucket -> crawler [label="R"]
crawler -> database [label="W"]
crawler -> table_status [label="W"]
lambda_role -> lambda [style=dashed]
crawler_role -> crawler [style=dashed]
lambda_permission -> bucket [style=dashed]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment