1
+ ## From https://github.com/jgraph/drawio-diagrams/blob/dev/examples/csv/car-partial-supply-chain.txt
2
+ ## Supply chain tracking example
3
+ # label: %name%
4
+ # stylename: shapeType
5
+ # styles: {"raw": "shape=parallelogram;fillColor=#f5f5f5;strokeColor=#666666;perimeter=parallelogramPerimeter;", \
6
+ # "well": "shape=cylinder;fillColor=#f5f5f5;strokeColor=#666666;", \
7
+ # "foundry": "shape=trapezoid;fillColor=#dae8fc;strokeColor=#6c8ebf;perimeter=trapezoidPerimeter;", \
8
+ # "manufacturer":"shape=hexagon;fillColor=#d5e8d4;strokeColor=#82b366;perimeter=hexagonPerimeter;", \
9
+ # "chemicals":"rounded=0;fillColor=#f8cecc;strokeColor=#b85450", \
10
+ # "electronics":"rounded=1;fillColor=#fff2cc;strokeColor=#d6b656", \
11
+ # "assembly":"shape=triangle;fillColor=#ffe6cc;strokeColor=#d79b00;perimeter=trianglePerimeter;", \
12
+ # "component":"shape=ellipse;fillColor=#ffffff;strokeColor=#000000;perimeter=ellipsePerimeter;"}
13
+ # namespace: csvimport-
14
+ # connect: {"from":"supplier", "to":"id", "invert":true, "style":"curved=1;endArrow=blockThin;startArrow=none;strokeColor=#999999;endFill=1;"}
15
+ # width: auto
16
+ # height: auto
17
+ # padding: 40
18
+ # ignore: id,shapeType,supplier
19
+ # nodespacing: 40
20
+ # levelspacing: 40
21
+ # edgespacing: 40
22
+ # layout: horizontalflow
23
+ ## CSV data starts below this line
24
+ id,name,supplier,shapeType
25
+ mb,Mine B,,raw
26
+ ma,Mine A,,raw
27
+ mc,Mine C,,raw
28
+ md,Mine D,,raw
29
+ w1,Well 1,,well
30
+ w2,Well 2,,well
31
+ w3,Well 3,,well
32
+ w4,Well 4,,well
33
+ fa,Foundry A,"mb,mc,ma",foundry
34
+ fb,Foundry B,"mc,md",foundry
35
+ fc,Foundry C,"ma,md",foundry
36
+ o1,Oil and Gas 1,w2,raw
37
+ o2,Oil and Gas 2,"w4,w3",raw
38
+ o3,Oil and Gas 3,w1,raw
39
+ man1,Manufacturer 1,fb,manufacturer
40
+ man2,Manufacturer 2,fc,manufacturer
41
+ man3,Manufacturer 3,fa,manufacturer
42
+ man4,Manufacturer 4,fc,manufacturer
43
+ man5,Manufacturer 5,ca,manufacturer
44
+ ca,Chemicals A,o3,chemicals
45
+ cb,Chemicals B,o1,chemicals
46
+ cc,Chemicals C,o2,chemicals
47
+ ea,Electronics A,cc,electronics
48
+ eb,Electronics B,cc,electronics
49
+ a1,Assembly 1,"3,4,5",assembly
50
+ a2,Assembly 2,2,assembly
51
+ a3,Assembly 3,"1,2,6,8,10,11",assembly
52
+ a4,Assembly 4,"9,12,13,7,15,14",assembly
53
+ a5,Assembly 5,16,assembly
54
+ 1,gearbox housing,fb,component
55
+ 2,gears,man3,component
56
+ 3,turbine,man1,component
57
+ 4,stator,man1,component
58
+ 5,impellor,man1,component
59
+ 6,bearings,man2,component
60
+ 7,transmission fluid,cb,component
61
+ 8,sealant,cc,component
62
+ 9,transmission control unit,ea,component
63
+ 10,gasket,man5,component
64
+ 11,seals,man5,component
65
+ 12,planetary gear train,a2,component
66
+ 13,torque converter,a1,component
67
+ 14,hydraulic controls,man4,component
68
+ 15,gearbox,a3,component
69
+ 16,transmission,a4,component
70
+ 17,car,a5,component
0 commit comments