Last active
October 31, 2022 16:49
-
-
Save toraritte/6f3b62dd4bd74812651ed6aa560528d7 to your computer and use it in GitHub Desktop.
(The extension should probably be `.dot` or `.gv`, but this is clearer.
This file contains hidden or 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
| // https://medium.com/scientific-breakthrough-of-the-afternoon/using-graphviz-to-visualize-property-graphs-9e0c343515cc | |
| digraph G { | |
| rankdir = LR; | |
| node [ shape = record ]; | |
| splines = polyline; | |
| // https://graphviz.org/doc/info/shapes.html#html | |
| fc [ label = <flyer<BR/>categories> ]; | |
| prov [ label = <commercial<BR/>marketing<BR/>providers> ]; | |
| rite_aid [ label = "Rite Aid" ]; | |
| coop1 [ label = <Sacramento<BR/>Natural<BR/>Foods<BR/>Co-op> ]; | |
| coop2 [ label = <Sacramento<BR/>Natural<BR/>Foods<BR/>Co-op> ]; | |
| savemart [ label = "Save Mart" ]; | |
| weekly1 [ label = <weekly<BR/>ad> ]; | |
| weekly2 [ label = <weekly<BR/>ad> ]; | |
| weekly3 [ label = <weekly<BR/>ad> ]; | |
| weekly4 [ label = <weekly<BR/>ad> ]; | |
| weekly5 [ label = <weekly<BR/>ad> ]; | |
| weekly6 [ label = <weekly<BR/>ad> ]; | |
| // weekly7 [ label = <weekly<BR/>ad> ]; | |
| bw [ label = <bi-weekly<BR/>specials> ]; | |
| bbos [ label = <Big Book<BR/>of Savings> ]; | |
| dotm [ label = <Deals of<BR/>the Month> ]; | |
| mos [ label = <Monthly<BR/>Online<BR/>Sales> ]; | |
| mss [ label = <Monthly<BR/>Store<BR/>Sales> ]; | |
| fc -> prov; | |
| fc -> PDF; | |
| PDF -> Pharmaca; | |
| PDF -> coop1 -> bw; | |
| prov -> Flipp; | |
| prov -> Ecom; | |
| Flipp -> Safeway; | |
| Flipp -> rite_aid; | |
| Flipp -> Sprouts; | |
| Flipp -> savemart; | |
| Flipp -> Lucky; | |
| Safeway -> weekly1; | |
| Safeway -> bbos; | |
| Sprouts -> weekly2; | |
| Sprouts -> dotm; | |
| Pharmaca -> mos; | |
| Pharmaca -> mss; | |
| rite_aid -> weekly3; | |
| savemart -> weekly4; | |
| Lucky -> weekly5; | |
| Ecom -> coop2 -> weekly6; | |
| { | |
| node [ style = "invis" ]; | |
| edge [ style = "invis" ]; | |
| a -> b -> c -> d; | |
| { rank = same; a; fc; } | |
| { rank = same; b; PDF; prov; } | |
| { rank = same; c; Flipp; Ecom; } | |
| { rank = same; d; Safeway; Pharmaca; coop1; coop2; rite_aid; } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment