maxGraph/javascript/examples/grapheditor/www/stencils/electrical/resistors.xml

713 lines
15 KiB
XML
Raw Normal View History

2012-06-02 06:02:43 +00:00
<shapes name="mxGraph.electrical.resistors">
<shape name="Magnetoresistor" h="60" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<foreground>
<path>
<move x="0" y="30"/>
<line x="18" y="30"/>
<line x="22" y="20"/>
<line x="30" y="40"/>
<line x="38" y="20"/>
<line x="46" y="40"/>
<line x="54" y="20"/>
<line x="62" y="40"/>
<line x="70" y="20"/>
<line x="78" y="40"/>
<line x="82" y="30"/>
<line x="100" y="30"/>
</path>
<stroke/>
<path>
<move x="30" y="60"/>
<line x="70" y="0"/>
</path>
<stroke/>
<path>
<move x="45" y="45"/>
<line x="55" y="60"/>
</path>
<stroke/>
<path>
<move x="55" y="45"/>
<line x="45" y="60"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Memristor 1" h="20" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<foreground>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
<line x="18" y="0"/>
<line x="26" y="0"/>
<line x="26" y="20"/>
<line x="34" y="20"/>
<line x="34" y="0"/>
<line x="42" y="0"/>
<line x="42" y="20"/>
<line x="50" y="20"/>
<line x="50" y="0"/>
<line x="58" y="0"/>
<line x="58" y="20"/>
<line x="66" y="20"/>
<line x="66" y="0"/>
<line x="74" y="0"/>
<line x="74" y="20"/>
<line x="82" y="20"/>
<line x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Memristor 2" h="24" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<background>
<rect x="16" y="0" w="68" h="24"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="12"/>
<line x="18" y="12"/>
<line x="18" y="2"/>
<line x="26" y="2"/>
<line x="26" y="22"/>
<line x="34" y="22"/>
<line x="34" y="2"/>
<line x="42" y="2"/>
<line x="42" y="22"/>
<line x="50" y="22"/>
<line x="50" y="2"/>
<line x="58" y="2"/>
<line x="58" y="22"/>
<line x="66" y="22"/>
<line x="66" y="2"/>
<line x="74" y="2"/>
<line x="74" y="22"/>
<line x="82" y="22"/>
<line x="82" y="12"/>
<line x="100" y="12"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Nonlinear Resistor" h="60" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<foreground>
<path>
<move x="18" y="60"/>
<line x="30" y="60"/>
<line x="70" y="0"/>
</path>
<stroke/>
<path>
<move x="0" y="30"/>
<line x="18" y="30"/>
<line x="22" y="20"/>
<line x="30" y="40"/>
<line x="38" y="20"/>
<line x="46" y="40"/>
<line x="54" y="20"/>
<line x="62" y="40"/>
<line x="70" y="20"/>
<line x="78" y="40"/>
<line x="82" y="30"/>
<line x="100" y="30"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Potentiometer 1" h="40" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.25" perimeter="0" name="in"/>
<constraint x="1" y="0.25" perimeter="0" name="out"/>
<constraint x="0.5" y="1" perimeter="0" name="control"/>
</connections>
<background>
<rect x="18" y="0" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
</path>
<stroke/>
<path>
<move x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
<path>
<move x="50" y="20"/>
<line x="50" y="40"/>
</path>
<stroke/>
<linejoin join="round"/>
<path>
<move x="45" y="25"/>
<line x="50" y="20"/>
<line x="55" y="25"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Potentiometer 2" h="40" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.25" perimeter="0" name="in"/>
<constraint x="1" y="0.25" perimeter="0" name="out"/>
<constraint x="0.5" y="1" perimeter="0" name="control"/>
</connections>
<foreground>
<path>
<move x="50" y="20"/>
<line x="50" y="40"/>
</path>
<stroke/>
<path>
<move x="45" y="25"/>
<line x="50" y="20"/>
<line x="55" y="25"/>
</path>
<stroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
<line x="22" y="0"/>
<line x="30" y="20"/>
<line x="38" y="0"/>
<line x="46" y="20"/>
<line x="54" y="0"/>
<line x="62" y="20"/>
<line x="70" y="0"/>
<line x="78" y="20"/>
<line x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Resistor, Adjustable Contact" h="40" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.25" perimeter="0" name="in"/>
<constraint x="1" y="0.25" perimeter="0" name="out"/>
<constraint x="0.46" y="1" perimeter="0" name="control"/>
</connections>
<foreground>
<path>
<move x="41" y="33"/>
<line x="46" y="20"/>
<line x="51" y="33"/>
<close/>
</path>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
<line x="22" y="0"/>
<line x="30" y="20"/>
<line x="38" y="0"/>
<line x="46" y="20"/>
<line x="54" y="0"/>
<line x="62" y="20"/>
<line x="70" y="0"/>
<line x="78" y="20"/>
<line x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
<path>
<move x="46" y="33"/>
<line x="46" y="40"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Resistor, Shunt" h="45" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.78" perimeter="0" name="in"/>
<constraint x="1" y="0.78" perimeter="0" name="out"/>
<constraint x="0.3" y="0" perimeter="0" name="control1"/>
<constraint x="0.7" y="0" perimeter="0" name="control2"/>
</connections>
<background>
<rect x="18" y="25" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="35"/>
<line x="18" y="35"/>
</path>
<stroke/>
<path>
<move x="82" y="35"/>
<line x="100" y="35"/>
</path>
<stroke/>
<path>
<move x="30" y="0"/>
<line x="30" y="25"/>
</path>
<stroke/>
<path>
<move x="70" y="0"/>
<line x="70" y="25"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Resistor 1" h="20" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<background>
<rect x="18" y="0" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
</path>
<stroke/>
<path>
<move x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Resistor 2" h="20" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<foreground>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
<line x="22" y="0"/>
<line x="30" y="20"/>
<line x="38" y="0"/>
<line x="46" y="20"/>
<line x="54" y="0"/>
<line x="62" y="20"/>
<line x="70" y="0"/>
<line x="78" y="20"/>
<line x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Resistor 3" h="20" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<background>
<rect x="18" y="0" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
</path>
<stroke/>
<path>
<move x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
<path>
<move x="18" y="0"/>
<line x="38" y="20"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Resistor 4" h="20" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<background>
<rect x="18" y="0" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
</path>
<stroke/>
<path>
<move x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
<linejoin join="round"/>
<path>
<move x="18" y="20"/>
<line x="38" y="0"/>
<line x="18" y="0"/>
<close/>
</path>
<fillstroke/>
</foreground>
</shape>
<shape name="Resistor With Instrument or Relay Shunt" h="20" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<background>
<rect x="18" y="0" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
</path>
<stroke/>
<path>
<move x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
<ellipse x="35" y="5" w="10" h="10"/>
<stroke/>
<ellipse x="55" y="5" w="10" h="10"/>
<stroke/>
</foreground>
</shape>
<shape name="Symmetrical Photoconductive Transducer" h="40" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.75" perimeter="0" name="W"/>
<constraint x="1" y="0.75" perimeter="0" name="E"/>
</connections>
<foreground>
<path>
<move x="0" y="30"/>
<line x="18" y="30"/>
<line x="22" y="20"/>
<line x="30" y="40"/>
<line x="38" y="20"/>
<line x="46" y="40"/>
<line x="54" y="20"/>
<line x="62" y="40"/>
<line x="70" y="20"/>
<line x="78" y="40"/>
<line x="82" y="30"/>
<line x="100" y="30"/>
</path>
<stroke/>
<path>
<move x="80" y="12"/>
<line x="87" y="5"/>
</path>
<stroke/>
<path>
<move x="80" y="9"/>
<line x="80" y="12"/>
<line x="83" y="12"/>
</path>
<stroke/>
<path>
<move x="75" y="7"/>
<line x="82" y="0"/>
</path>
<stroke/>
<path>
<move x="75" y="4"/>
<line x="75" y="7"/>
<line x="78" y="7"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Symmetrical Varistor" h="60" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="W"/>
<constraint x="1" y="0.5" perimeter="0" name="E"/>
</connections>
<foreground>
<path>
<move x="18" y="60"/>
<line x="30" y="60"/>
<line x="70" y="0"/>
</path>
<stroke/>
<path>
<move x="0" y="30"/>
<line x="18" y="30"/>
<line x="22" y="20"/>
<line x="30" y="40"/>
<line x="38" y="20"/>
<line x="46" y="40"/>
<line x="54" y="20"/>
<line x="62" y="40"/>
<line x="70" y="20"/>
<line x="78" y="40"/>
<line x="82" y="30"/>
<line x="100" y="30"/>
</path>
<stroke/>
<path>
<move x="45" y="45"/>
<line x="50" y="60"/>
<line x="55" y="45"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Tapped Resistor" h="40" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.25" perimeter="0" name="in"/>
<constraint x="1" y="0.25" perimeter="0" name="out"/>
<constraint x="0.46" y="1" perimeter="0" name="control1"/>
<constraint x="0.62" y="1" perimeter="0" name="control2"/>
</connections>
<foreground>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
<line x="22" y="0"/>
<line x="30" y="20"/>
<line x="38" y="0"/>
<line x="46" y="20"/>
<line x="54" y="0"/>
<line x="62" y="20"/>
<line x="70" y="0"/>
<line x="78" y="20"/>
<line x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
<path>
<move x="46" y="20"/>
<line x="46" y="40"/>
</path>
<stroke/>
<path>
<move x="62" y="20"/>
<line x="62" y="40"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Trimmer Pot 1" h="40" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.25" perimeter="0" name="in"/>
<constraint x="1" y="0.25" perimeter="0" name="out"/>
<constraint x="0.5" y="1" perimeter="0" name="control"/>
</connections>
<background>
<rect x="18" y="0" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
</path>
<stroke/>
<path>
<move x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
<path>
<move x="50" y="20"/>
<line x="50" y="40"/>
</path>
<stroke/>
<rect x="42" y="21" w="16" h="2"/>
<fillstroke/>
</foreground>
</shape>
<shape name="Trimmer Pot 2" h="40" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.25" perimeter="0" name="in"/>
<constraint x="1" y="0.25" perimeter="0" name="out"/>
<constraint x="0.5" y="1" perimeter="0" name="control"/>
</connections>
<foreground>
<path>
<move x="50" y="21"/>
<line x="50" y="40"/>
</path>
<stroke/>
<rect x="42" y="21" w="16" h="2"/>
<fillstroke/>
<path>
<move x="0" y="10"/>
<line x="18" y="10"/>
<line x="22" y="0"/>
<line x="30" y="20"/>
<line x="38" y="0"/>
<line x="46" y="20"/>
<line x="54" y="0"/>
<line x="62" y="20"/>
<line x="70" y="0"/>
<line x="78" y="20"/>
<line x="82" y="10"/>
<line x="100" y="10"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Trimmer Resistor 1" h="65.5" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.54" perimeter="0" name="in"/>
<constraint x="1" y="0.54" perimeter="0" name="out"/>
</connections>
<background>
<rect x="18" y="25.5" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="35.5"/>
<line x="18" y="35.5"/>
</path>
<stroke/>
<path>
<move x="82" y="35.5"/>
<line x="100" y="35.5"/>
</path>
<stroke/>
<path>
<move x="30" y="65.5"/>
<line x="70" y="5.5"/>
</path>
<stroke/>
<path>
<move x="62.2" y="0"/>
<line x="78.2" y="10.5"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Trimmer Resistor 2" h="65.5" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.54" perimeter="0" name="in"/>
<constraint x="1" y="0.54" perimeter="0" name="out"/>
</connections>
<foreground>
<path>
<move x="30" y="65.5"/>
<line x="70" y="5.5"/>
</path>
<stroke/>
<path>
<move x="62.2" y="0"/>
<line x="78.2" y="10.5"/>
</path>
<stroke/>
<path>
<move x="0" y="35.5"/>
<line x="18" y="35.5"/>
<line x="22" y="25.5"/>
<line x="30" y="45.5"/>
<line x="38" y="25.5"/>
<line x="46" y="45.5"/>
<line x="54" y="25.5"/>
<line x="62" y="45.5"/>
<line x="70" y="25.5"/>
<line x="78" y="45.5"/>
<line x="82" y="35.5"/>
<line x="100" y="35.5"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Variable Resistor 1" h="60" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<background>
<rect x="18" y="20" w="64" h="20"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="0" y="30"/>
<line x="18" y="30"/>
</path>
<stroke/>
<path>
<move x="82" y="30"/>
<line x="100" y="30"/>
</path>
<stroke/>
<path>
<move x="30" y="60"/>
<line x="70" y="0"/>
</path>
<stroke/>
<path>
<move x="57" y="10"/>
<line x="70" y="0"/>
<line x="66.5" y="15.5"/>
</path>
<stroke/>
</foreground>
</shape>
<shape name="Variable Resistor 2" h="60" w="100" aspect="variable" strokewidth="inherit">
<connections>
<constraint x="0" y="0.5" perimeter="0" name="in"/>
<constraint x="1" y="0.5" perimeter="0" name="out"/>
</connections>
<foreground>
<path>
<move x="0" y="30"/>
<line x="18" y="30"/>
<line x="22" y="20"/>
<line x="30" y="40"/>
<line x="38" y="20"/>
<line x="46" y="40"/>
<line x="54" y="20"/>
<line x="62" y="40"/>
<line x="70" y="20"/>
<line x="78" y="40"/>
<line x="82" y="30"/>
<line x="100" y="30"/>
</path>
<stroke/>
<path>
<move x="30" y="60"/>
<line x="70" y="0"/>
</path>
<stroke/>
<path>
<move x="57" y="10"/>
<line x="70" y="0"/>
<line x="66.5" y="15.5"/>
</path>
<stroke/>
</foreground>
</shape>
</shapes>