Skip to content

Instantly share code, notes, and snippets.

@niklasf
Last active Dec 28, 2015
Embed
What would you like to do?
8-8-8-2 Switch Dia shape
<?xml version="1.0"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - 8-8-8-2 Switch</name>
<icon>8-8-8-2-switch.png</icon>
<connections>
<!-- First group -->
<point x="4.125" y=".45" main="yes"/>
<point x="4.625" y=".45"/>
<point x="5.125" y=".45"/>
<point x="5.625" y=".45"/>
<point x="4.125" y=".78"/>
<point x="4.625" y=".78"/>
<point x="5.125" y=".78"/>
<point x="5.625" y=".78"/>
<!-- Second group -->
<point x="6.625" y=".45"/>
<point x="7.125" y=".45"/>
<point x="7.625" y=".45"/>
<point x="8.125" y=".45"/>
<point x="6.625" y=".78"/>
<point x="7.125" y=".78"/>
<point x="7.625" y=".78"/>
<point x="8.125" y=".78"/>
<!-- Third group -->
<point x="9.125" y=".45"/>
<point x="9.625" y=".45"/>
<point x="10.125" y=".45"/>
<point x="10.625" y=".45"/>
<point x="9.125" y=".78"/>
<point x="9.625" y=".78"/>
<point x="10.125" y=".78"/>
<point x="10.625" y=".78"/>
<!-- Extra ports -->
<point x="11.625" y=".78"/>
<point x="12.125" y=".78"/>
</connections>
<aspectratio type="fixed"/>
<svg:svg width="12.75cm" height="1.2cm">
<svg:rect style="stroke: foreground; stroke-width:.8; fill:#B3B3B3" x="0" y="0" width="12.75" height="1.2"/>
<!-- First group -->
<svg:rect style="stroke:none; fill:foreground" x="4" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="4.5" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="5" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="5.5" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="4" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="4.5" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="5" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="5.5" y=".66" width=".25" height=".24"/>
<!-- Second group -->
<svg:rect style="stroke:none; fill:foreground" x="6.5" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="7" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="7.5" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="8" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="6.5" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="7" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="7.5" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="8" y=".66" width=".25" height=".24"/>
<!-- Third group -->
<svg:rect style="stroke:none; fill:foreground" x="9" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="9.5" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="10" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="10.5" y=".33" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="9" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="9.5" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="10" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="10.5" y=".66" width=".25" height=".24"/>
<!-- Extra ports -->
<svg:rect style="stroke:none; fill:foreground" x="11.5" y=".66" width=".25" height=".24"/>
<svg:rect style="stroke:none; fill:foreground" x="12" y=".66" width=".25" height=".24"/>
</svg:svg>
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment