Skip to content

Commit 24719a8

Browse files
committed
add php-sap diagram
1 parent 92813b7 commit 24719a8

File tree

3 files changed

+153
-0
lines changed

3 files changed

+153
-0
lines changed

res/php-sap.png

21.9 KB
Loading

res/php-sap.svg

Lines changed: 111 additions & 0 deletions
Loading

res/php-sap.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
@startuml
2+
digraph G {
3+
node [shape=box];
4+
compound=true;
5+
splines=ortho;
6+
subgraph cluster1 {
7+
color=blue;
8+
node [color=blue];
9+
subgraph cluster11 {
10+
label="PHP 7.x"
11+
sapnwrfc7 [label="sapnwrfc by Gregor Kralik"];
12+
}
13+
subgraph cluster12 {
14+
label="PHP 5.x"
15+
sapnwrfc5 [label="sapnwrfc by Piers Harding"];
16+
saprfc [label="saprfc by Eduard Koucky"];
17+
}
18+
}
19+
subgraph cluster2 {
20+
color=green;
21+
node [color=green];
22+
label="phpsap/interfaces"
23+
subgraph cluster21 {
24+
label="phpsap/common"
25+
"phpsap/saprfc-koucky" -> saprfc [color=green];
26+
"phpsap/saprfc-harding" -> sapnwrfc5 [color=green];
27+
"phpsap/saprfc-kralik" -> sapnwrfc7 [color=green];
28+
}
29+
}
30+
subgraph cluster3 {
31+
color=red;
32+
node [color=red];
33+
label="your code";
34+
function1;
35+
function2;
36+
function3 [label="..."];
37+
}
38+
function1 -> "phpsap/saprfc-koucky" [lhead=cluster2 color=red];
39+
function2 -> "phpsap/saprfc-harding" [lhead=cluster2 color=red];
40+
function3 -> "phpsap/saprfc-kralik" [lhead=cluster2 color=red];
41+
}
42+
@enduml

0 commit comments

Comments
 (0)