maxGraph/javascript/examples/grapheditor/www/stencils/general.xml

59 lines
1.4 KiB
XML

<shapes>
<shape name="and" w="50" strokewidth="inherit">
<background>
<path>
<move x="0" y="0"/>
<line x="50" y="50"/>
<line x="0" y="100"/>
<close/>
</path>
</background>
<foreground>
<fillstroke/>
</foreground>
</shape>
<shape name="or" strokewidth="inherit">
<connections>
<constraint x="0" y="0.25" perimeter="0"/>
<constraint x="0" y="0.5" perimeter="0"/>
<constraint x="0" y="0.75" perimeter="0"/>
<constraint x="1" y="0.5" perimeter="0"/>
<constraint x="0.7" y="0.1" perimeter="0"/>
<constraint x="0.7" y="0.9" perimeter="0"/>
</connections>
<background>
<path>
<move x="0" y="0"/>
<quad x1="100" y1="0" x2="100" y2="50"/>
<quad x1="100" y1="100" x2="0" y2="100"/>
<close/>
</path>
</background>
<foreground>
<fillstroke/>
</foreground>
</shape>
<shape name="xor" strokewidth="inherit">
<connections>
<constraint x="0.175" y="0.25" perimeter="0"/>
<constraint x="0.25" y="0.5" perimeter="0"/>
<constraint x="0.175" y="0.75" perimeter="0"/>
<constraint x="1" y="0.5" perimeter="0"/>
<constraint x="0.7" y="0.1" perimeter="0"/>
<constraint x="0.7" y="0.9" perimeter="0"/>
</connections>
<background>
<path>
<move x="0" y="0"/>
<quad x1="100" y1="0" x2="100" y2="50"/>
<quad x1="100" y1="100" x2="0" y2="100"/>
<quad x1="50" y1="50" x2="0" y2="0"/>
<close/>
</path>
</background>
<foreground>
<fillstroke/>
</foreground>
</shape>
</shapes>