---
source: hydroflow/tests/surface_join.rs
expression: "df.meta_graph().unwrap().to_mermaid(&Default::default())"
---
%%{init:{'theme':'base','themeVariables':{'clusterBkg':'#ddd','clusterBorder':'#888'}}}%%
flowchart TD
classDef pullClass fill:#8af,stroke:#000,text-align:left,white-space:pre
classDef pushClass fill:#ff8,stroke:#000,text-align:left,white-space:pre
classDef otherClass fill:#fdc,stroke:#000,text-align:left,white-space:pre
linkStyle default stroke:#aaa
1v1[\"(1v1) source_iter([(7, 1), (7, 2)])
"/]:::pullClass
2v1[\"(2v1) source_iter([(7, 0)])
"/]:::pullClass
3v1[\"(3v1) source_iter([(7, 1)])
"/]:::pullClass
4v1[\"(4v1) defer_tick()
"/]:::pullClass
5v1[\"(5v1) source_iter([(7, 2)])
"/]:::pullClass
6v1[\"(6v1) defer_tick()
"/]:::pullClass
7v1[\"(7v1) defer_tick()
"/]:::pullClass
8v1[\"(8v1) union()
"/]:::pullClass
9v1[\"(9v1) join::<'static, 'tick>()
"/]:::pullClass
10v1[/"
for_each(|x| {
results_inner.borrow_mut().entry(context.current_tick()).or_default().push(x)
})
"\]:::pushClass
11v1["(11v1) handoff
"]:::otherClass
12v1["(12v1) handoff
"]:::otherClass
13v1["(13v1) handoff
"]:::otherClass
14v1[\"(14v1) identity()
"/]:::pullClass
15v1["(15v1) handoff
"]:::otherClass
16v1[\"(16v1) identity()
"/]:::pullClass
17v1["(17v1) handoff
"]:::otherClass
18v1[\"(18v1) identity()
"/]:::pullClass
19v1["(19v1) handoff
"]:::otherClass
1v1-->|0|9v1
2v1-->8v1
4v1-->8v1
3v1-->11v1
7v1-->8v1
6v1-->12v1
5v1-->13v1
8v1-->|1|9v1
9v1-->10v1
11v1-->14v1
12v1-->16v1
13v1-->18v1
14v1-->15v1
15v1--o4v1; linkStyle 13 stroke:red
16v1-->17v1
17v1--o7v1; linkStyle 15 stroke:red
18v1-->19v1
19v1--o6v1; linkStyle 17 stroke:red
subgraph sg_1v1 ["sg_1v1 stratum 0"]
3v1
end
subgraph sg_2v1 ["sg_2v1 stratum 0"]
5v1
end
subgraph sg_3v1 ["sg_3v1 stratum 0"]
6v1
end
subgraph sg_4v1 ["sg_4v1 stratum 0"]
1v1
2v1
4v1
7v1
8v1
9v1
10v1
subgraph sg_4v1_var_my_join ["var my_join"]
9v1
10v1
end
subgraph sg_4v1_var_unioner ["var unioner"]
8v1
end
end
subgraph sg_5v1 ["sg_5v1 stratum 1"]
14v1
end
subgraph sg_6v1 ["sg_6v1 stratum 1"]
16v1
end
subgraph sg_7v1 ["sg_7v1 stratum 1"]
18v1
end