-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpipeline.dot
56 lines (47 loc) · 1.85 KB
/
pipeline.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@startdot
digraph CMake {
rankdir=TD;
subgraph clusterLinux {
color=black;
label = "Host";
node [shape=note, style="rounded,filled", color=black, fillcolor=royalblue];
SWIG [label="python/foo.i", fillcolor=white];
subgraph clusterCPP {
color=royalblue;
label = "C++";
node [shape=note, style="rounded,filled", color=black, fillcolor=royalblue];
PKG [label="C++ dev packages\ne.g. cmake, g++", shape=box3d];
CPP [label="Foo.hpp/Foo.cpp"];
LIB [label="libFoo.so", shape=component];
WRAPPER_CPP [label="fooPython_wrap.cxx"];
WRAPPER_LIB [label="_pyFoo.so", shape=component];
CPP -> WRAPPER_CPP [label="include", style=dashed];
CPP -> LIB [label="g++, ld", style=bold];
WRAPPER_CPP -> WRAPPER_LIB [label="g++, ld", style=bold];
LIB -> WRAPPER_LIB [label="ld", style=dashed];
}
CPP -> SWIG [label="include", style=dashed];
SWIG -> WRAPPER_CPP [label="swig", style=bold];
subgraph clusterPYTHON {
color=gold;
label = "Python";
node [shape=note, style="rounded,filled", color=black, fillcolor=gold];
WHL_PKG [label="Python wheel module", shape=box3d, fillcolor=gold];
PYTHON [label="pyFoo.py"];
SETUP [label="setup.py"];
WHL [label="foo-cp39-linux-x86_64.whl", shape=folder];
PYTHON -> SETUP [label="", style=dashed];
PYTHON -> WHL [label="Foo/", style=dashed];
SETUP -> WHL [label="bdist_wheel", style=bold];
//WHL_PKG -> SETUP [label="cmake", style=dashed];
}
SWIG -> PYTHON [label="swig", style=bold];
LIB -> SETUP [label="", style=dashed];
LIB -> WHL [label=".libs/", style=dashed];
WRAPPER_LIB -> PYTHON [label="dlopen", style=dashed];
WRAPPER_LIB -> SETUP [label="", style=dashed];
WRAPPER_LIB -> WHL [label="Foo/", style=dashed];
}
}
@enddot
// vim: set tw=0 ts=2 sw=2 expandtab: