Debian Codegraph @

doc/en/example/fixtures/fixture_availability_plugins.svg

raw
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="587" height="382">
2 <style>
3 text {
4 font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
5 dominant-baseline: middle;
6 text-anchor: middle;
7 fill: #062886;
8 font-size: medium;
9 alignment-baseline: center;
10 }
11 ellipse.fixture, rect.test {
12 fill: #eeffcc;
13 stroke: #007020;
14 stroke-width: 2;
15 }
16 text.fixture {
17 color: #06287e;
18 }
19 circle.class, circle.module, circle.package, circle.plugin {
20 fill: #c3e0ec;
21 stroke: #0e84b5;
22 stroke-width: 2;
23 }
24 text.class, text.module, text.package, text.plugin {
25 fill: #0e84b5;
26 }
27 line, path {
28 stroke: black;
29 stroke-width: 2;
30 fill: none;
31 }
32 </style>
33
34 <!-- plugin_a.py scope -->
35 <circle class="plugin" r="85" cx="486" cy="86" />
36 <!-- plugin name -->
37 <defs>
38 <path d="M 411,86 A 75 75 0 0 1 561 86" id="pluginA"/>
39 </defs>
40 <text class="plugin">
41 <textPath xlink:href="#pluginA" startOffset="50%">plugin_a</textPath>
42 </text>
43 <!-- scope order number -->
44 <mask id="pluginAOrderMask">
45 <rect x="0" y="0" width="100%" height="100%" fill="white"/>
46 <circle fill="black" stroke="white" stroke-width="2" r="85" cx="486" cy="86" />
47 </mask>
48 <circle class="module" r="15" cx="571" cy="86" mask="url(#pluginAOrderMask)"/>
49 <text class="module" x="571" y="86">4</text>
50
51 <!-- plugin_b.py scope -->
52 <circle class="plugin" r="85" cx="486" cy="296" />
53 <!-- plugin name -->
54 <defs>
55 <path d="M 411,296 A 75 75 0 0 1 561 296" id="pluginB"/>
56 </defs>
57 <text class="plugin">
58 <textPath xlink:href="#pluginB" startOffset="50%">plugin_b</textPath>
59 </text>
60 <!-- scope order number -->
61 <mask id="pluginBOrderMask">
62 <rect x="0" y="0" width="100%" height="100%" fill="white"/>
63 <circle fill="black" stroke="white" stroke-width="2" r="85" cx="486" cy="296" />
64 </mask>
65 <circle class="module" r="15" cx="571" cy="296" mask="url(#pluginBOrderMask)"/>
66 <text class="module" x="571" y="296">4</text>
67
68 <!-- main scope -->
69 <circle class="package" r="190" cx="191" cy="191" />
70 <!-- scope name -->
71 <defs>
72 <path d="M 11,191 A 180 180 0 0 1 371 191" id="testp"/>
73 </defs>
74 <text class="package">
75 <textPath xlink:href="#testp" startOffset="50%">tests</textPath>
76 </text>
77 <!-- scope order number -->
78 <mask id="mainOrderMask">
79 <rect x="0" y="0" width="100%" height="100%" fill="white"/>
80 <circle fill="black" stroke="white" stroke-width="2" r="190" cx="191" cy="191" />
81 </mask>
82 <circle class="module" r="15" cx="381" cy="191" mask="url(#mainOrderMask)"/>
83 <text class="module" x="381" y="191">3</text>
84
85 <!-- subpackage -->
86 <circle class="package" r="140" cx="191" cy="231" />
87 <!-- scope name -->
88 <defs>
89 <path d="M 61,231 A 130 130 0 0 1 321 231" id="subpackage"/>
90 </defs>
91 <text class="package">
92 <textPath xlink:href="#subpackage" startOffset="50%">subpackage</textPath>
93 </text>
94 <!-- scope order number -->
95 <mask id="subpackageOrderMask">
96 <rect x="0" y="0" width="100%" height="100%" fill="white"/>
97 <circle fill="black" stroke="white" stroke-width="2" r="140" cx="191" cy="231" />
98 </mask>
99 <circle class="module" r="15" cx="331" cy="231" mask="url(#subpackageOrderMask)"/>
100 <text class="module" x="331" y="231">2</text>
101
102 <!-- test_subpackage.py -->
103 <circle class="module" r="90" cx="191" cy="271" />
104 <!-- scope name -->
105 <defs>
106 <path d="M 111,271 A 80 80 0 0 1 271 271" id="testSubpackage"/>
107 </defs>
108 <text class="module">
109 <textPath xlink:href="#testSubpackage" startOffset="50%">test_subpackage.py</textPath>
110 </text>
111 <!-- scope order number -->
112 <mask id="testSubpackageOrderMask">
113 <rect x="0" y="0" width="100%" height="100%" fill="white"/>
114 <circle fill="black" stroke="white" stroke-width="2" r="90" cx="191" cy="271" />
115 </mask>
116 <circle class="module" r="15" cx="281" cy="271" mask="url(#testSubpackageOrderMask)"/>
117 <text class="module" x="281" y="271">1</text>
118
119 <!-- innermost -->
120 <line x1="191" x2="191" y1="231" y2="311"/>
121 <!-- mid -->
122 <path d="M 191 306 L 101 306 L 91 296 L 91 156 L 101 146 L 191 146" />
123 <!-- order -->
124 <path d="M 191 316 L 91 316 L 81 306 L 81 61 L 91 51 L 191 51" />
125 <!-- a_fix -->
126 <path d="M 191 306 L 291 306 L 301 296 L 301 96 L 311 86 L 486 86" />
127 <!-- b_fix -->
128 <path d="M 191 316 L 316 316 L 336 296 L 486 296" />
129 <ellipse class="fixture" rx="50" ry="25" cx="191" cy="231" />
130 <text x="191" y="231">inner</text>
131 <rect class="test" width="110" height="50" x="136" y="286" />
132 <text x="191" y="311">test_order</text>
133 <ellipse class="fixture" rx="50" ry="25" cx="191" cy="146" />
134 <text x="191" y="146">mid</text>
135 <ellipse class="fixture" rx="50" ry="25" cx="191" cy="51" />
136 <text x="191" y="51">order</text>
137
138 <ellipse class="fixture" rx="50" ry="25" cx="486" cy="86" />
139 <text x="486" y="86">a_fix</text>
140 <ellipse class="fixture" rx="50" ry="25" cx="486" cy="296" />
141 <text x="486" y="296">b_fix</text>
142 </svg>