Skip to content

Instantly share code, notes, and snippets.

@johannilsson
Created February 19, 2010 12:16
Show Gist options
  • Select an option

  • Save johannilsson/308656 to your computer and use it in GitHub Desktop.

Select an option

Save johannilsson/308656 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Save it as a file named jms.sheet in .dia/sheets -->
<sheet xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns">
<name>Jms</name>
<description>A collection of sample shapes.</description>
<contents>
<object name="Queue">
<description>The most minimal of shapes</description>
</object>
</contents>
</sheet>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Save it as a file named queue.shape in .dia/shapes/jms -->
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<name>Queue</name>
<icon>queue.png</icon>
<connections>
<point x="10.1309" y="2.85501"/>
<point x="10.1309" y="1.55501"/>
<point x="9.78087" y="2.20501"/>
<point x="10.4809" y="2.20501"/>
<point x="10.1309" y="1.55501"/>
<point x="3.05045" y="1.55705"/>
<point x="6.59066" y="1.55603"/>
<point x="10.1309" y="2.85501"/>
<point x="3.02495" y="2.85728"/>
<point x="6.57791" y="2.85615"/>
</connections>
<!--<aspectratio type="fixed"/>-->
<svg:svg>
<svg:ellipse style="fill: #ffffff" cx="10.1309" cy="2.20501" rx="0.35" ry="0.65"/>
<svg:ellipse style="fill: none; fill-opacity:0; stroke-width: 0.1; stroke: #000000" cx="10.1309" cy="2.20501" rx="0.35" ry="0.65"/>
<svg:line style="fill: none; fill-opacity:0; stroke-width: 0.1; stroke: #000000" x1="10.1309" y1="1.55501" x2="3.05045" y2="1.55705"/>
<svg:line style="fill: none; fill-opacity:0; stroke-width: 0.1; stroke: #000000" x1="10.1309" y1="2.85501" x2="3.02495" y2="2.85728"/>
<svg:path style="fill: none; fill-opacity:0; stroke-width: 0.1; stroke: #000000" d="M 3.05666,1.55705 A 0.75326,0.75326 0 0 0 3.05895,2.85728"/>
</svg:svg>
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment