Last active
July 7, 2017 11:20
-
-
Save zankard/0cb922501725c01eb2b835ad9947b643 to your computer and use it in GitHub Desktop.
cache pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startdot | |
digraph g { | |
graph [bgcolor="transparent"]; | |
rankdir=TB; | |
ranksep=0.1; | |
"application" [ shape=circle style = "filled" penwidth = 1 fillcolor = "white" label="app" ]; | |
"cache" [ style="filled,rounded" shape=mrecord color="#9c27b0" fillcolor="#9c27b0" xlabel="Cache" label=<<table border="0" cellborder="1" cellpadding="10" bgcolor="white"><tr><td bgcolor="red" PORT="entry"></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td></tr></table>> ]; | |
"data_store" [ style="filled" shape=folder color="#64b5f6" fillcolor="#64b5f6" xlabel="Data Store" label=<<table border="0" cellborder="1" cellpadding="10" bgcolor="white"><tr><td bgcolor="red" PORT="entry"></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr></table>>]; | |
cache:entry:nw -> application [ penwidth = 1 fontsize = 20 fontcolor = "black" label = "1" ]; | |
application -> data_store [label="2"]; | |
application -> cache:entry [penwidth = 1 fontsize = 20 label="3"]; | |
} | |
@enddot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment