-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtext-attr.xml
More file actions
43 lines (38 loc) · 1.18 KB
/
text-attr.xml
File metadata and controls
43 lines (38 loc) · 1.18 KB
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
<svg>
<style>
<![CDATA[
* {
stroke-width: 0.5;
stroke: black;
fill: white;
}
circle, ellipse { stroke-width: 0.1; }
text {
font-family: "Ubuntu Mono", monospace;
font-size: 3px;
stroke: none;
fill: black;
}
text.d-tbox {
dominant-baseline: central;
text-anchor: middle;
}
.grey {fill: lightgrey;}
text.grey {fill: black;}
rect.red {fill: red;}
rect.amber {fill: orange;}
rect.yellow {fill: yellow;}
rect.green {fill: lightgreen;}
]]>
</style>
<rect x="0" y="0" width="20" height="30" id="outline"/>
<ellipse cxy="#outline@t" rxy="6 3" class="grey" text="ports"/>
<rect cxy="0 5" wh="10 5" text="a" class="red" id="a"/>
<circle cxy="#a@br" r="2" text="1"/>
<rect cxy="0 15" wh="10 5" text="b" class="amber" id="b"/>
<circle cxy="#b@br" r="2" text="2"/>
<rect cxy="0 25" wh="10 5" text="c" class="yellow" id="c"/>
<circle cxy="#c@br" r="2" text="3"/>
<rect cxy="20 15" wh="10 5" text="out" class="green" id="d"/>
<circle cxy="#d@bl" r="2" text="4"/>
</svg>