| 1 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="572" height="542"> |
| 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 |
} |
| 10 |
ellipse.fixture, rect.test { |
| 11 |
fill: #eeffcc; |
| 12 |
stroke: #007020; |
| 13 |
stroke-width: 2; |
| 14 |
} |
| 15 |
text.fixture { |
| 16 |
color: #06287e; |
| 17 |
} |
| 18 |
circle.class, circle.module, circle.package { |
| 19 |
fill: #c3e0ec; |
| 20 |
stroke: #0e84b5; |
| 21 |
stroke-width: 2; |
| 22 |
} |
| 23 |
text.class, text.module, text.package { |
| 24 |
fill: #0e84b5; |
| 25 |
} |
| 26 |
line, path { |
| 27 |
stroke: black; |
| 28 |
stroke-width: 2; |
| 29 |
fill: none; |
| 30 |
} |
| 31 |
</style> |
| 32 |
|
| 33 |
<!-- main scope --> |
| 34 |
<circle class="package" r="270" cx="286" cy="271" /> |
| 35 |
<!-- scope name --> |
| 36 |
<defs> |
| 37 |
<path d="M 26,271 A 260 260 0 0 1 546 271" id="testp"/> |
| 38 |
</defs> |
| 39 |
<text class="package"> |
| 40 |
<textPath xlink:href="#testp" startOffset="50%">tests</textPath> |
| 41 |
</text> |
| 42 |
|
| 43 |
<!-- subpackage --> |
| 44 |
<circle class="package" r="140" cx="186" cy="271" /> |
| 45 |
<!-- scope name --> |
| 46 |
<defs> |
| 47 |
<path d="M 56,271 A 130 130 0 0 1 316 271" id="subpackage"/> |
| 48 |
</defs> |
| 49 |
<text class="package"> |
| 50 |
<textPath xlink:href="#subpackage" startOffset="50%">subpackage</textPath> |
| 51 |
</text> |
| 52 |
|
| 53 |
<!-- test_subpackage.py --> |
| 54 |
<circle class="module" r="90" cx="186" cy="311" /> |
| 55 |
<!-- scope name --> |
| 56 |
<defs> |
| 57 |
<path d="M 106,311 A 80 80 0 0 1 266 311" id="testSubpackage"/> |
| 58 |
</defs> |
| 59 |
<text class="module"> |
| 60 |
<textPath xlink:href="#testSubpackage" startOffset="50%">test_subpackage.py</textPath> |
| 61 |
</text> |
| 62 |
<!-- innermost --> |
| 63 |
<line x1="186" x2="186" y1="271" y2="351"/> |
| 64 |
<!-- mid --> |
| 65 |
<path d="M 186 351 L 136 351 L 106 331 L 106 196" /> |
| 66 |
<!-- order --> |
| 67 |
<path d="M 186 351 L 256 351 L 316 291 L 316 136" /> |
| 68 |
<!-- top --> |
| 69 |
<path d="M 186 351 L 186 391 L 231 436 L 331 436" /> |
| 70 |
<ellipse class="fixture" rx="50" ry="25" cx="186" cy="271" /> |
| 71 |
<text x="186" y="271">innermost</text> |
| 72 |
<rect class="test" width="110" height="50" x="131" y="326" /> |
| 73 |
<text x="186" y="351">test_order</text> |
| 74 |
<ellipse class="fixture" rx="50" ry="25" cx="126" cy="196" /> |
| 75 |
<text x="126" y="196">mid</text> |
| 76 |
<!-- scope order number --> |
| 77 |
<mask id="testSubpackageOrderMask"> |
| 78 |
<rect x="0" y="0" width="100%" height="100%" fill="white"/> |
| 79 |
<circle fill="black" stroke="white" stroke-width="2" r="90" cx="186" cy="311" /> |
| 80 |
</mask> |
| 81 |
<circle class="module" r="15" cx="96" cy="311" mask="url(#testSubpackageOrderMask)"/> |
| 82 |
<text class="module" x="96" y="311">1</text> |
| 83 |
<!-- scope order number --> |
| 84 |
<mask id="subpackageOrderMask"> |
| 85 |
<rect x="0" y="0" width="100%" height="100%" fill="white"/> |
| 86 |
<circle fill="black" stroke="white" stroke-width="2" r="140" cx="186" cy="271" /> |
| 87 |
</mask> |
| 88 |
<circle class="module" r="15" cx="46" cy="271" mask="url(#subpackageOrderMask)"/> |
| 89 |
<text class="module" x="46" y="271">2</text> |
| 90 |
<!-- scope order number --> |
| 91 |
<mask id="testsOrderMask"> |
| 92 |
<rect x="0" y="0" width="100%" height="100%" fill="white"/> |
| 93 |
<circle fill="black" stroke="white" stroke-width="2" r="270" cx="286" cy="271" /> |
| 94 |
</mask> |
| 95 |
<circle class="module" r="15" cx="16" cy="271" mask="url(#testsOrderMask)"/> |
| 96 |
<text class="module" x="16" y="271">3</text> |
| 97 |
|
| 98 |
<!-- test_top.py --> |
| 99 |
<circle class="module" r="85" cx="441" cy="271" /> |
| 100 |
<!-- scope name --> |
| 101 |
<defs> |
| 102 |
<path d="M 366,271 A 75 75 0 0 1 516 271" id="testTop"/> |
| 103 |
</defs> |
| 104 |
<text class="module"> |
| 105 |
<textPath xlink:href="#testTop" startOffset="50%">test_top.py</textPath> |
| 106 |
</text> |
| 107 |
<!-- innermost --> |
| 108 |
<line x1="441" x2="441" y1="306" y2="236"/> |
| 109 |
<!-- order --> |
| 110 |
<path d="M 441 306 L 376 306 L 346 276 L 346 136" /> |
| 111 |
<!-- top --> |
| 112 |
<path d="M 441 306 L 441 411 L 411 436 L 331 436" /> |
| 113 |
<ellipse class="fixture" rx="50" ry="25" cx="441" cy="236" /> |
| 114 |
<text x="441" y="236">innermost</text> |
| 115 |
<rect class="test" width="110" height="50" x="386" y="281" /> |
| 116 |
<text x="441" y="306">test_order</text> |
| 117 |
<!-- scope order number --> |
| 118 |
<mask id="testTopOrderMask"> |
| 119 |
<rect x="0" y="0" width="100%" height="100%" fill="white"/> |
| 120 |
<circle fill="black" stroke="white" stroke-width="2" r="85" cx="441" cy="271" /> |
| 121 |
</mask> |
| 122 |
<circle class="module" r="15" cx="526" cy="271" mask="url(#testTopOrderMask)"/> |
| 123 |
<text class="module" x="526" y="271">1</text> |
| 124 |
<!-- scope order number --> |
| 125 |
<circle class="module" r="15" cx="556" cy="271" mask="url(#testsOrderMask)"/> |
| 126 |
<text class="module" x="556" y="271">2</text> |
| 127 |
|
| 128 |
<ellipse class="fixture" rx="50" ry="25" cx="331" cy="436" /> |
| 129 |
<text x="331" y="436">top</text> |
| 130 |
<ellipse class="fixture" rx="50" ry="25" cx="331" cy="136" /> |
| 131 |
<text x="331" y="136">order</text> |
| 132 |
</svg> |