-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88f6a68
commit f3571ba
Showing
5 changed files
with
208 additions
and
16 deletions.
There are no files selected for viewing
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
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
91 changes: 91 additions & 0 deletions
91
dfir_rs/tests/snapshots/surface_loop__flo_repeat_n_nested@graphvis_dot.snap
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
--- | ||
source: dfir_rs/tests/surface_loop.rs | ||
expression: "df.meta_graph().unwrap().to_dot(& Default :: default())" | ||
--- | ||
digraph { | ||
node [fontname="Monaco,Menlo,Consolas,"Droid Sans Mono",Inconsolata,"Courier New",monospace", style=filled]; | ||
edge [fontname="Monaco,Menlo,Consolas,"Droid Sans Mono",Inconsolata,"Courier New",monospace"]; | ||
n1v1 [label="(n1v1) source_iter([\"alice\", \"bob\"])", shape=invhouse, fillcolor="#88aaff"] | ||
n2v1 [label="(n2v1) batch()", shape=invhouse, fillcolor="#88aaff"] | ||
n3v1 [label="(n3v1) flatten()", shape=invhouse, fillcolor="#88aaff"] | ||
n4v1 [label="(n4v1) repeat_n(3)", shape=invhouse, fillcolor="#88aaff"] | ||
n5v1 [label="(n5v1) flatten()", shape=invhouse, fillcolor="#88aaff"] | ||
n6v1 [label="(n6v1) repeat_n(3)", shape=invhouse, fillcolor="#88aaff"] | ||
n7v1 [label="(n7v1) inspect(|x| println!(\"{:?}\", x))", shape=invhouse, fillcolor="#88aaff"] | ||
n8v1 [label="(n8v1) assert_eq([\l vec![\"alice\", \"bob\", \"alice\", \"bob\", \"alice\", \"bob\"],\l vec![\"alice\", \"bob\", \"alice\", \"bob\", \"alice\", \"bob\"],\l vec![\"alice\", \"bob\", \"alice\", \"bob\", \"alice\", \"bob\"],\l])\l", shape=house, fillcolor="#ffff88"] | ||
n9v1 [label="(n9v1) handoff", shape=parallelogram, fillcolor="#ddddff"] | ||
n10v1 [label="(n10v1) handoff", shape=parallelogram, fillcolor="#ddddff"] | ||
n11v1 [label="(n11v1) handoff", shape=parallelogram, fillcolor="#ddddff"] | ||
n12v1 [label="(n12v1) handoff", shape=parallelogram, fillcolor="#ddddff"] | ||
n13v1 [label="(n13v1) handoff", shape=parallelogram, fillcolor="#ddddff"] | ||
n2v1 -> n9v1 | ||
n1v1 -> n10v1 | ||
n4v1 -> n11v1 | ||
n3v1 -> n12v1 | ||
n7v1 -> n8v1 | ||
n6v1 -> n7v1 | ||
n5v1 -> n13v1 | ||
n9v1 -> n3v1 | ||
n10v1 -> n2v1 | ||
n11v1 -> n5v1 | ||
n12v1 -> n4v1 [color=red] | ||
n13v1 -> n6v1 [color=red] | ||
subgraph "cluster n1v1" { | ||
fillcolor="#dddddd" | ||
style=filled | ||
label = "sg_1v1\nstratum 0" | ||
n1v1 | ||
subgraph "cluster_sg_1v1_var_usrs1" { | ||
label="var usrs1" | ||
n1v1 | ||
} | ||
} | ||
subgraph "cluster n2v1" { | ||
fillcolor="#dddddd" | ||
style=filled | ||
label = "sg_2v1\nstratum 0" | ||
n2v1 | ||
subgraph "cluster_sg_2v1_var_usrs2" { | ||
label="var usrs2" | ||
n2v1 | ||
} | ||
} | ||
subgraph "cluster n3v1" { | ||
fillcolor="#dddddd" | ||
style=filled | ||
label = "sg_3v1\nstratum 0" | ||
n3v1 | ||
subgraph "cluster_sg_3v1_var_usrs2" { | ||
label="var usrs2" | ||
n3v1 | ||
} | ||
} | ||
subgraph "cluster n4v1" { | ||
fillcolor="#dddddd" | ||
style=filled | ||
label = "sg_4v1\nstratum 1" | ||
n4v1 | ||
subgraph "cluster_sg_4v1_var_usrs3" { | ||
label="var usrs3" | ||
n4v1 | ||
} | ||
} | ||
subgraph "cluster n5v1" { | ||
fillcolor="#dddddd" | ||
style=filled | ||
label = "sg_5v1\nstratum 1" | ||
n5v1 | ||
subgraph "cluster_sg_5v1_var_usrs3" { | ||
label="var usrs3" | ||
n5v1 | ||
} | ||
} | ||
subgraph "cluster n6v1" { | ||
fillcolor="#dddddd" | ||
style=filled | ||
label = "sg_6v1\nstratum 2" | ||
n6v1 | ||
n7v1 | ||
n8v1 | ||
} | ||
} |
Oops, something went wrong.