summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Examples')
-rw-r--r--Examples/BJTBias.svg162
-rw-r--r--Examples/BJT_Amplifier.svg346
-rw-r--r--Examples/BJT_CB_config.svg162
-rw-r--r--Examples/BJT_CE_config.svg162
-rw-r--r--Examples/BJT_Freq_Response.svg343
-rw-r--r--Examples/CMOS_Inverter.svg256
-rw-r--r--Examples/HighPassFilter.svg109
-rw-r--r--Examples/LowPassFilter.svg109
-rw-r--r--Examples/RLC.svg161
9 files changed, 1810 insertions, 0 deletions
diff --git a/Examples/BJTBias.svg b/Examples/BJTBias.svg
new file mode 100644
index 0000000..448ad57
--- /dev/null
+++ b/Examples/BJTBias.svg
@@ -0,0 +1,162 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="413.4765625px" height="278.5px"><rect x="0" y="0" fill="white" width="413.4765625px" height="278.5px"/><text x="22" y="151" font-size="12" fill="black" stroke-width="0px" id="value-i1-b2985f2fd32692"><tspan dx="-12" dy="15">20m</tspan><tspan dx="0" dy="0">i1</tspan></text><g class="ac" connects="0,20;60,20" stroke-width="2px" stroke="#000" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,32,201)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>i1</wtx:id>
+ <wtx:type>i</wtx:type>
+ <wtx:name>current</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>20m</wtx:value>
+ <wtx:label>value-i1-b2985f2fd32692</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path d="m50.381,19.923a20.203,19.698,0,1,1,-40.406,0,20.203,19.698,0,1,1,40.406,0z" fill="none" id="path2816"/>
+ <path d="M10,20,0,20" id="path2818"/>
+ <path d="m50,20,10,0" id="path2820"/>
+ <path d="M20,20,40,20" id="path2820"/>
+ <path d="M35,15,40,20,35,25" id="path2820"/>
+
+
+</g><text x="202" y="71" font-size="12" fill="black" stroke-width="0px" id="value-q1-581d295fa6e4f3"><tspan dx="-16" dy="15">2n2222</tspan><tspan dx="0" dy="0">q1</tspan></text><g class="npn" stroke-width="2px" stroke="#000" id="Q" transform="matrix(1,0,0,1,202,71)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <!--spice order for transistors is collector base emmitter-->
+ <wtx:node y="0" x="30" index="1"/>
+ <wtx:node y="20" x="0" index="2"/>
+ <wtx:node y="40" x="30" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q1</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>npn</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value>2n2222</wtx:value>
+ <wtx:label>value-q1-581d295fa6e4f3</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>2n2222.lib</wtx:model>
+</wtx:part>
+</metadata>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="40" width="40"/>
+ <path d="M15.508,31.531l0-23.068" id="path2178"/>
+ <path fill="none" d="M30,0,30,7.6063,16,16.606" id="path2829"/>
+ <path fill="none" d="m30,40,0-9-14-7" id="path2831"/>
+ <path d="m25,31.606,2-4,3,4-5-0.000001z" id="path3613"/>
+ <path d="m0,20,15,0" id="path3615"/>
+ </g><text x="92" y="81" font-size="12" fill="black" stroke-width="0px" id="value-r1-0fface46d04474"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,92,81)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r1-0fface46d04474</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="212" y="21" font-size="12" fill="black" stroke-width="0px" id="value-r2-39112875388bb9"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r2</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,242,11)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r2</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r2-39112875388bb9</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="352" y="90.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-6ccafcd8ab25c0"><tspan dx="-15" dy="15">12</tspan><tspan dx="0" dy="0">v1</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,392,81)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="50" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>12</wtx:value>
+ <wtx:label>value-v1-6ccafcd8ab25c0</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path5009" d="M 0,10 L 17,10"/>
+ <path id="path5019" d="M 32,10 L 50,10"/>
+ <path id="path5011" d="M 17.836609,0.68314333 L 17.718673,19.199113"/>
+ <path id="path5013" d="M 22.436119,3.7494823 L 22.436119,15.071349"/>
+ <path id="path5015" d="M 27.507371,0.68314333 L 27.507371,19.552922"/>
+ <path id="path5017" d="M 31.753072,3.8674183 L 31.635136,15.425157"/>
+ <text stroke-width="0px" font-size="12px" id="text5025" y="8.5261526" x="8.2167969">+</text>
+ <text stroke-width="0px" font-size="12px" id="text5029" y="0.5234375" x="34.111794">_</text>
+ </g><text x="222" y="251.0001220703125" font-size="12" fill="black" stroke-width="0px" id="value-gnd-7190b0186f120c"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,222,251)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-7190b0186f120c</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="232" cy="221" r="3" stroke="black" fill="black"/><circle cx="232" cy="221" r="3" stroke="black" fill="black"/><line x1="52" y1="141" x2="52" y2="91" stroke="black" stroke-width="2"/><line x1="52" y1="91" x2="92" y2="91" stroke="black" stroke-width="2"/><line x1="132" y1="91" x2="202" y2="91" stroke="black" stroke-width="2"/><line x1="232" y1="71" x2="232" y2="51" stroke="black" stroke-width="2"/><line x1="232" y1="11" x2="382" y2="11" stroke="black" stroke-width="2"/><line x1="382" y1="11" x2="382" y2="81" stroke="black" stroke-width="2"/><line x1="52" y1="201" x2="52" y2="221" stroke="black" stroke-width="2"/><line x1="52" y1="221" x2="382" y2="221" stroke="black" stroke-width="2"/><line x1="382" y1="221" x2="382" y2="131" stroke="black" stroke-width="2"/><line x1="52" y1="221" x2="232" y2="221" stroke="black" stroke-width="2"/><line x1="232" y1="221" x2="382" y2="221" stroke="black" stroke-width="2"/><line x1="232" y1="111" x2="232" y2="221" stroke="black" stroke-width="2"/><line x1="232" y1="221" x2="382" y2="221" stroke="black" stroke-width="2"/><line x1="232" y1="251" x2="232" y2="221" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/BJT_Amplifier.svg b/Examples/BJT_Amplifier.svg
new file mode 100644
index 0000000..91f0da3
--- /dev/null
+++ b/Examples/BJT_Amplifier.svg
@@ -0,0 +1,346 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="571.4765625px" height="321.5px"><rect x="0" y="0" fill="white" width="571.4765625px" height="321.5px"/><text x="70" y="134" font-size="12" fill="black" stroke-width="0px" id="value-r1-d1386fde9624eb"><tspan dx="-14" dy="15">50</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,70,134)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>50</wtx:value>
+ <wtx:label>value-r1-d1386fde9624eb</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="150" y="134" font-size="12" fill="black" stroke-width="0px" id="value-c1-e2724e754b39d1"><tspan dx="-15" dy="15">40u</tspan><tspan dx="0" dy="0">c1</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(1,0,0,1,150,134)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c1</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>40u</wtx:value>
+ <wtx:label>value-c1-e2724e754b39d1</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="200" y="54" font-size="12" fill="black" stroke-width="0px" id="value-r2-f7dc69ac33489d"><tspan dx="-14" dy="15">200k</tspan><tspan dx="0" dy="0">r2</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,230,44)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r2</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>200k</wtx:value>
+ <wtx:label>value-r2-f7dc69ac33489d</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="200" y="204" font-size="12" fill="black" stroke-width="0px" id="value-r3-c1ded050af5f6b"><tspan dx="-14" dy="15">50k</tspan><tspan dx="0" dy="0">r3</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,230,194)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r3</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>50k</wtx:value>
+ <wtx:label>value-r3-c1ded050af5f6b</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="270" y="124" font-size="12" fill="black" stroke-width="0px" id="value-q1-cb86cd9c47bb7b"><tspan dx="-16" dy="15">2n2222</tspan><tspan dx="0" dy="0">q1</tspan></text><g class="npn" stroke-width="2px" stroke="#000" id="Q" transform="matrix(1,0,0,1,270,124)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <!--spice order for transistors is collector base emmitter-->
+ <wtx:node y="0" x="30" index="1"/>
+ <wtx:node y="20" x="0" index="2"/>
+ <wtx:node y="40" x="30" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q1</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>npn</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value>2n2222</wtx:value>
+ <wtx:label>value-q1-cb86cd9c47bb7b</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>2n2222.lib</wtx:model>
+</wtx:part>
+</metadata>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="40" width="40"/>
+ <path d="M15.508,31.531l0-23.068" id="path2178"/>
+ <path fill="none" d="M30,0,30,7.6063,16,16.606" id="path2829"/>
+ <path fill="none" d="m30,40,0-9-14-7" id="path2831"/>
+ <path d="m25,31.606,2-4,3,4-5-0.000001z" id="path3613"/>
+ <path d="m0,20,15,0" id="path3615"/>
+ </g><text x="280" y="204" font-size="12" fill="black" stroke-width="0px" id="value-r4-b426f7e69913c2"><tspan dx="-14" dy="15">1.5k</tspan><tspan dx="0" dy="0">r4</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,310,194)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r4</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1.5k</wtx:value>
+ <wtx:label>value-r4-b426f7e69913c2</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="280" y="54" font-size="12" fill="black" stroke-width="0px" id="value-r5-1fc33581be831d"><tspan dx="-14" dy="15">2k</tspan><tspan dx="0" dy="0">r5</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,310,44)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r5</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>2k</wtx:value>
+ <wtx:label>value-r5-1fc33581be831d</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="350" y="204" font-size="12" fill="black" stroke-width="0px" id="value-c2-7a6c5f02387ac0"><tspan dx="-15" dy="15">100u</tspan><tspan dx="0" dy="0">c2</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,380,204)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c2</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>100u</wtx:value>
+ <wtx:label>value-c2-7a6c5f02387ac0</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="370" y="94" font-size="12" fill="black" stroke-width="0px" id="value-c3-dff89aecb168b0"><tspan dx="-15" dy="15">40u</tspan><tspan dx="0" dy="0">c3</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(1,0,0,1,370,94)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c3</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>40u</wtx:value>
+ <wtx:label>value-c3-dff89aecb168b0</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="420" y="154" font-size="12" fill="black" stroke-width="0px" id="value-r6-ce5a7805da26a2"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r6</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,450,144)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r6</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r6-ce5a7805da26a2</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="510" y="123.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v2-76f4ad882b25d0"><tspan dx="-15" dy="15">10</tspan><tspan dx="0" dy="0">v2</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,550,114)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="50" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v2</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>10</wtx:value>
+ <wtx:label>value-v2-76f4ad882b25d0</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path5009" d="M 0,10 L 17,10"/>
+ <path id="path5019" d="M 32,10 L 50,10"/>
+ <path id="path5011" d="M 17.836609,0.68314333 L 17.718673,19.199113"/>
+ <path id="path5013" d="M 22.436119,3.7494823 L 22.436119,15.071349"/>
+ <path id="path5015" d="M 27.507371,0.68314333 L 27.507371,19.552922"/>
+ <path id="path5017" d="M 31.753072,3.8674183 L 31.635136,15.425157"/>
+ <text stroke-width="0px" font-size="12px" id="text5025" y="8.5261526" x="8.2167969">+</text>
+ <text stroke-width="0px" font-size="12px" id="text5029" y="0.5234375" x="34.111794">_</text>
+ </g><text x="290" y="294.0001220703125" font-size="12" fill="black" stroke-width="0px" id="value-gnd-994978efe8776b"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,290,294)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-994978efe8776b</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="220" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="262" r="3" stroke="black" fill="black"/><circle cx="370" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="186" r="3" stroke="black" fill="black"/><circle cx="300" cy="104" r="3" stroke="black" fill="black"/><circle cx="440" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="13" r="3" stroke="black" fill="black"/><circle cx="220" cy="144" r="3" stroke="black" fill="black"/><circle cx="220" cy="142" r="3" stroke="black" fill="black"/><text x="10" y="174" font-size="12" fill="black" stroke-width="0px" id="value-v1-f535b7f6d4cdd1"><tspan dx="0" dy="0">v1</tspan></text><g class="sinvoltagesource" connects="0,20;60,20" stroke-width="2px" stroke="#000" id="S" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,60,164)">
+<metadata class="part">
+<wtx:part xmlns:wtx="http://code.google.com/p/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>sinvoltagesource</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value/>
+
+ <wtx:offsetvoltage>0</wtx:offsetvoltage>
+ <wtx:voltageamplitude>10m</wtx:voltageamplitude>
+ <wtx:frequency>1k</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-f535b7f6d4cdd1</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+ <wtx:measure/>
+</wtx:part>
+</metadata>
+ <path d="m50.381,19.923a20.203,19.698,0,1,1,-40.406,0,20.203,19.698,0,1,1,40.406,0z" fill="none" id="path2816"/>
+ <path d="M10,20,0,20" id="path2818"/>
+ <path d="m50,20,10,0" id="path2820"/>
+ <path fill="none" stroke-width="1px" d="M15.763,19.492c10.699,23.004,16.424-16.073,27.966,0.169" id="path2819"/>
+<text stroke-width="0px" font-size="12px" id="text5025" y="20" x="0">+</text>
+<text stroke-width="0px" font-size="12px" id="text5029" y="15" x="53">_</text>
+
+</g><line x1="220" y1="84" x2="220" y2="194" stroke="black" stroke-width="2"/><line x1="40" y1="224" x2="40" y2="262" stroke="black" stroke-width="2"/><line x1="40" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="540" y1="262" x2="540" y2="164" stroke="black" stroke-width="2"/><line x1="40" y1="262" x2="220" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="234" x2="220" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="262" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="234" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="370" y2="262" stroke="black" stroke-width="2"/><line x1="370" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="370" y1="234" x2="370" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="262" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="294" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="194" x2="300" y2="164" stroke="black" stroke-width="2"/><line x1="370" y1="204" x2="370" y2="186" stroke="black" stroke-width="2"/><line x1="300" y1="194" x2="300" y2="186" stroke="black" stroke-width="2"/><line x1="300" y1="186" x2="300" y2="164" stroke="black" stroke-width="2"/><line x1="370" y1="186" x2="300" y2="186" stroke="black" stroke-width="2"/><line x1="300" y1="84" x2="300" y2="124" stroke="black" stroke-width="2"/><line x1="300" y1="84" x2="300" y2="104" stroke="black" stroke-width="2"/><line x1="300" y1="104" x2="300" y2="124" stroke="black" stroke-width="2"/><line x1="370" y1="104" x2="300" y2="104" stroke="black" stroke-width="2"/><line x1="400" y1="104" x2="440" y2="104" stroke="black" stroke-width="2"/><line x1="440" y1="104" x2="440" y2="144" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="440" y2="262" stroke="black" stroke-width="2"/><line x1="440" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="440" y1="184" x2="440" y2="262" stroke="black" stroke-width="2"/><line x1="540" y1="114" x2="540" y2="13" stroke="black" stroke-width="2"/><line x1="540" y1="13" x2="220" y2="13" stroke="black" stroke-width="2"/><line x1="220" y1="13" x2="220" y2="44" stroke="black" stroke-width="2"/><line x1="540" y1="13" x2="300" y2="13" stroke="black" stroke-width="2"/><line x1="300" y1="13" x2="220" y2="13" stroke="black" stroke-width="2"/><line x1="300" y1="44" x2="300" y2="13" stroke="black" stroke-width="2"/><line x1="40" y1="164" x2="40" y2="144" stroke="black" stroke-width="2"/><line x1="40" y1="144" x2="70" y2="144" stroke="black" stroke-width="2"/><line x1="110" y1="144" x2="150" y2="144" stroke="black" stroke-width="2"/><line x1="150" y1="144" x2="180" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="84" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="144" x2="220" y2="194" stroke="black" stroke-width="2"/><line x1="180" y1="144" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="84" x2="220" y2="142" stroke="black" stroke-width="2"/><line x1="220" y1="142" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="270" y1="144" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="144" x2="220" y2="142" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/BJT_CB_config.svg b/Examples/BJT_CB_config.svg
new file mode 100644
index 0000000..67619b1
--- /dev/null
+++ b/Examples/BJT_CB_config.svg
@@ -0,0 +1,162 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="403.4765625px" height="238.5px"><rect x="0" y="0" fill="white" width="403.4765625px" height="238.5px"/><text x="202" y="61" font-size="12" fill="black" stroke-width="0px" id="value-q1-ec1f621898f853"><tspan dx="-16" dy="15">2n2222</tspan><tspan dx="0" dy="0">q1</tspan></text><g class="npn" stroke-width="2px" stroke="#000" id="Q" transform="matrix(-6.123234262925839e-17,-1,-1,6.123234262925839e-17,242,101)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <!--spice order for transistors is collector base emmitter-->
+ <wtx:node y="0" x="30" index="1"/>
+ <wtx:node y="20" x="0" index="2"/>
+ <wtx:node y="40" x="30" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q1</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>npn</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value>2n2222</wtx:value>
+ <wtx:label>value-q1-ec1f621898f853</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>2n2222.lib</wtx:model>
+</wtx:part>
+</metadata>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="40" width="40"/>
+ <path d="M15.508,31.531l0-23.068" id="path2178"/>
+ <path fill="none" d="M30,0,30,7.6063,16,16.606" id="path2829"/>
+ <path fill="none" d="m30,40,0-9-14-7" id="path2831"/>
+ <path d="m25,31.606,2-4,3,4-5-0.000001z" id="path3613"/>
+ <path d="m0,20,15,0" id="path3615"/>
+ </g><text x="122" y="61" font-size="12" fill="black" stroke-width="0px" id="value-r1-e39b65cd238e5d"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,122,61)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r1-e39b65cd238e5d</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="242" y="21" font-size="12" fill="black" stroke-width="0px" id="value-r2-7d7f6843b6973d"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r2</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,272,11)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r2</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r2-7d7f6843b6973d</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="22" y="101" font-size="12" fill="black" stroke-width="0px" id="value-i1-cbe58316e75fdf"><tspan dx="-12" dy="15">20m</tspan><tspan dx="0" dy="0">i1</tspan></text><g class="ac" connects="0,20;60,20" stroke-width="2px" stroke="#000" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,32,151)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>i1</wtx:id>
+ <wtx:type>i</wtx:type>
+ <wtx:name>current</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>20m</wtx:value>
+ <wtx:label>value-i1-cbe58316e75fdf</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path d="m50.381,19.923a20.203,19.698,0,1,1,-40.406,0,20.203,19.698,0,1,1,40.406,0z" fill="none" id="path2816"/>
+ <path d="M10,20,0,20" id="path2818"/>
+ <path d="m50,20,10,0" id="path2820"/>
+ <path d="M20,20,40,20" id="path2820"/>
+ <path d="M35,15,40,20,35,25" id="path2820"/>
+
+
+</g><text x="342" y="50.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-289dc5b688adf1"><tspan dx="-15" dy="15">12</tspan><tspan dx="0" dy="0">v1</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(3.0616169991140216e-16,1,-1,3.0616169991140216e-16,382,41)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="50" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>12</wtx:value>
+ <wtx:label>value-v1-289dc5b688adf1</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path5009" d="M 0,10 L 17,10"/>
+ <path id="path5019" d="M 32,10 L 50,10"/>
+ <path id="path5011" d="M 17.836609,0.68314333 L 17.718673,19.199113"/>
+ <path id="path5013" d="M 22.436119,3.7494823 L 22.436119,15.071349"/>
+ <path id="path5015" d="M 27.507371,0.68314333 L 27.507371,19.552922"/>
+ <path id="path5017" d="M 31.753072,3.8674183 L 31.635136,15.425157"/>
+ <text stroke-width="0px" font-size="12px" id="text5025" y="8.5261526" x="8.2167969">+</text>
+ <text stroke-width="0px" font-size="12px" id="text5029" y="0.5234375" x="34.111794">_</text>
+ </g><text x="212" y="211.0001220703125" font-size="12" fill="black" stroke-width="0px" id="value-gnd-14410b7bfb1f40"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,212,211)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-14410b7bfb1f40</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="222" cy="180" r="3" stroke="black" fill="black"/><circle cx="222" cy="180" r="3" stroke="black" fill="black"/><line x1="52" y1="91" x2="52" y2="72" stroke="black" stroke-width="2"/><line x1="52" y1="72" x2="122" y2="72" stroke="black" stroke-width="2"/><line x1="122" y1="72" x2="122" y2="71" stroke="black" stroke-width="2"/><line x1="162" y1="71" x2="202" y2="71" stroke="black" stroke-width="2"/><line x1="242" y1="71" x2="262" y2="71" stroke="black" stroke-width="2"/><line x1="262" y1="71" x2="262" y2="51" stroke="black" stroke-width="2"/><line x1="262" y1="11" x2="372" y2="11" stroke="black" stroke-width="2"/><line x1="372" y1="11" x2="372" y2="41" stroke="black" stroke-width="2"/><line x1="52" y1="151" x2="52" y2="180" stroke="black" stroke-width="2"/><line x1="52" y1="180" x2="372" y2="180" stroke="black" stroke-width="2"/><line x1="372" y1="180" x2="372" y2="91" stroke="black" stroke-width="2"/><line x1="52" y1="180" x2="222" y2="180" stroke="black" stroke-width="2"/><line x1="222" y1="180" x2="372" y2="180" stroke="black" stroke-width="2"/><line x1="222" y1="101" x2="222" y2="180" stroke="black" stroke-width="2"/><line x1="222" y1="101" x2="222" y2="180" stroke="black" stroke-width="2"/><line x1="222" y1="211" x2="222" y2="180" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/BJT_CE_config.svg b/Examples/BJT_CE_config.svg
new file mode 100644
index 0000000..9a86b27
--- /dev/null
+++ b/Examples/BJT_CE_config.svg
@@ -0,0 +1,162 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="383.4765625px" height="258.5px"><rect x="0" y="0" fill="white" width="383.4765625px" height="258.5px"/><text x="22" y="141" font-size="12" fill="black" stroke-width="0px" id="value-i1-2726e7128bfa12"><tspan dx="-12" dy="15">20m</tspan><tspan dx="0" dy="0">i1</tspan></text><g class="ac" connects="0,20;60,20" stroke-width="2px" stroke="#000" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,32,191)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>i1</wtx:id>
+ <wtx:type>i</wtx:type>
+ <wtx:name>current</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>20m</wtx:value>
+ <wtx:label>value-i1-2726e7128bfa12</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path d="m50.381,19.923a20.203,19.698,0,1,1,-40.406,0,20.203,19.698,0,1,1,40.406,0z" fill="none" id="path2816"/>
+ <path d="M10,20,0,20" id="path2818"/>
+ <path d="m50,20,10,0" id="path2820"/>
+ <path d="M20,20,40,20" id="path2820"/>
+ <path d="M35,15,40,20,35,25" id="path2820"/>
+
+
+</g><text x="112" y="81" font-size="12" fill="black" stroke-width="0px" id="value-r1-8fb364583fb7ee"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,112,81)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r1-8fb364583fb7ee</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="192" y="71" font-size="12" fill="black" stroke-width="0px" id="value-q1-e26905075173e7"><tspan dx="-16" dy="15">2n2222</tspan><tspan dx="0" dy="0">q1</tspan></text><g class="npn" stroke-width="2px" stroke="#000" id="Q" transform="matrix(1,0,0,1,192,71)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <!--spice order for transistors is collector base emmitter-->
+ <wtx:node y="0" x="30" index="1"/>
+ <wtx:node y="20" x="0" index="2"/>
+ <wtx:node y="40" x="30" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q1</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>npn</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value>2n2222</wtx:value>
+ <wtx:label>value-q1-e26905075173e7</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>2n2222.lib</wtx:model>
+</wtx:part>
+</metadata>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="40" width="40"/>
+ <path d="M15.508,31.531l0-23.068" id="path2178"/>
+ <path fill="none" d="M30,0,30,7.6063,16,16.606" id="path2829"/>
+ <path fill="none" d="m30,40,0-9-14-7" id="path2831"/>
+ <path d="m25,31.606,2-4,3,4-5-0.000001z" id="path3613"/>
+ <path d="m0,20,15,0" id="path3615"/>
+ </g><text x="202" y="21" font-size="12" fill="black" stroke-width="0px" id="value-r2-ccffd09be99430"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r2</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,232,11)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r2</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r2-ccffd09be99430</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="322" y="80.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-0ba107c7620de9"><tspan dx="-15" dy="15">12</tspan><tspan dx="0" dy="0">v1</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,362,71)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="50" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>12</wtx:value>
+ <wtx:label>value-v1-0ba107c7620de9</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path5009" d="M 0,10 L 17,10"/>
+ <path id="path5019" d="M 32,10 L 50,10"/>
+ <path id="path5011" d="M 17.836609,0.68314333 L 17.718673,19.199113"/>
+ <path id="path5013" d="M 22.436119,3.7494823 L 22.436119,15.071349"/>
+ <path id="path5015" d="M 27.507371,0.68314333 L 27.507371,19.552922"/>
+ <path id="path5017" d="M 31.753072,3.8674183 L 31.635136,15.425157"/>
+ <text stroke-width="0px" font-size="12px" id="text5025" y="8.5261526" x="8.2167969">+</text>
+ <text stroke-width="0px" font-size="12px" id="text5029" y="0.5234375" x="34.111794">_</text>
+ </g><text x="212" y="231.0001220703125" font-size="12" fill="black" stroke-width="0px" id="value-gnd-333d7399864bdd"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,212,231)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-333d7399864bdd</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="222" cy="208" r="3" stroke="black" fill="black"/><circle cx="222" cy="208" r="3" stroke="black" fill="black"/><line x1="52" y1="131" x2="52" y2="92" stroke="black" stroke-width="2"/><line x1="52" y1="92" x2="112" y2="92" stroke="black" stroke-width="2"/><line x1="112" y1="92" x2="112" y2="91" stroke="black" stroke-width="2"/><line x1="152" y1="91" x2="192" y2="91" stroke="black" stroke-width="2"/><line x1="222" y1="71" x2="222" y2="51" stroke="black" stroke-width="2"/><line x1="222" y1="11" x2="352" y2="11" stroke="black" stroke-width="2"/><line x1="352" y1="11" x2="352" y2="71" stroke="black" stroke-width="2"/><line x1="52" y1="191" x2="52" y2="208" stroke="black" stroke-width="2"/><line x1="52" y1="208" x2="352" y2="208" stroke="black" stroke-width="2"/><line x1="352" y1="208" x2="352" y2="121" stroke="black" stroke-width="2"/><line x1="52" y1="208" x2="222" y2="208" stroke="black" stroke-width="2"/><line x1="222" y1="208" x2="352" y2="208" stroke="black" stroke-width="2"/><line x1="222" y1="111" x2="222" y2="208" stroke="black" stroke-width="2"/><line x1="222" y1="208" x2="352" y2="208" stroke="black" stroke-width="2"/><line x1="222" y1="231" x2="222" y2="208" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/BJT_Freq_Response.svg b/Examples/BJT_Freq_Response.svg
new file mode 100644
index 0000000..934c02a
--- /dev/null
+++ b/Examples/BJT_Freq_Response.svg
@@ -0,0 +1,343 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="571.4765625px" height="321.5px"><rect x="0" y="0" fill="white" width="571.4765625px" height="321.5px"/><text x="10" y="174" font-size="12" fill="black" stroke-width="0px" id="value-v1-e84373895fb559"><tspan dx="0" dy="0">v1</tspan></text><g class="ac" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,224)">
+
+
+<metadata class="part">
+<wtx:part xmlns:wtx="http://code.google.com/p/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>ac</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value/>
+ <wtx:amplitude>0.5</wtx:amplitude>
+ <wtx:phase>0</wtx:phase>
+ <wtx:label>value-v1-e84373895fb559</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+
+
+<path d=" M 0.00 0.00 L 60.00 0.00 L 60.00 18.92 C 56.43 18.92 52.87 18.89 49.31 18.96 C 48.41 13.74 45.89 8.64 41.32 5.69 C 33.28 -0.05 21.18 1.19 14.58 8.58 C 11.86 11.37 10.75 15.20 9.91 18.90 C 6.61 18.91 3.31 18.91 0.01 18.92 L 0.00 18.02 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 14.58 8.58 C 21.18 1.19 33.28 -0.05 41.32 5.69 C 45.89 8.64 48.41 13.74 49.31 18.96 C 52.87 18.89 56.43 18.92 60.00 18.92 L 60.00 20.36 C 56.44 20.37 52.88 20.42 49.32 20.35 C 48.37 25.00 46.49 29.68 42.57 32.61 C 34.59 39.35 21.31 38.48 14.46 30.51 C 11.81 27.77 10.77 24.01 9.90 20.41 C 6.60 20.40 3.30 20.40 0.00 20.40 L 0.00 18.02 L 0.01 18.92 C 3.31 18.91 6.61 18.91 9.91 18.90 C 10.75 15.20 11.86 11.37 14.58 8.58 Z" fill="#242223"/>
+<path d=" M 16.79 8.70 C 24.26 1.38 38.00 2.26 44.27 10.71 C 46.12 13.28 47.66 16.48 46.84 19.71 C 47.83 25.27 43.64 30.47 39.04 33.09 C 30.82 38.00 18.81 35.44 13.93 27.02 C 10.46 21.21 11.70 13.17 16.79 8.70 Z" fill="#ffffff"/>
+<path d=" M 35.50 14.74 L 37.09 14.62 C 37.08 16.05 37.08 17.47 37.07 18.89 C 38.40 18.90 39.74 18.91 41.07 18.92 L 41.06 20.37 C 39.72 20.39 38.38 20.42 37.04 20.44 C 37.06 22.02 37.09 23.59 37.10 25.17 L 35.52 25.19 C 35.49 23.60 35.48 22.02 35.47 20.43 C 34.22 20.42 32.96 20.40 31.71 20.39 L 31.56 18.91 C 32.86 18.91 34.16 18.91 35.46 18.90 C 35.47 17.51 35.48 16.12 35.50 14.74 Z" fill="#242223"/>
+<path d=" M 49.32 20.35 C 52.88 20.42 56.44 20.37 60.00 20.36 L 60.00 40.00 L 0.00 40.00 L 0.00 20.40 C 3.30 20.40 6.60 20.40 9.90 20.41 C 10.77 24.01 11.81 27.77 14.46 30.51 C 21.31 38.48 34.59 39.35 42.57 32.61 C 46.49 29.68 48.37 25.00 49.32 20.35 Z" fill="#ffffff"/>
+</g><text x="70" y="134" font-size="12" fill="black" stroke-width="0px" id="value-r1-d1386fde9624eb"><tspan dx="-14" dy="15">50</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,70,134)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>50</wtx:value>
+ <wtx:label>value-r1-d1386fde9624eb</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="150" y="134" font-size="12" fill="black" stroke-width="0px" id="value-c1-e2724e754b39d1"><tspan dx="-15" dy="15">40u</tspan><tspan dx="0" dy="0">c1</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(1,0,0,1,150,134)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c1</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>40u</wtx:value>
+ <wtx:label>value-c1-e2724e754b39d1</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="200" y="54" font-size="12" fill="black" stroke-width="0px" id="value-r2-f7dc69ac33489d"><tspan dx="-14" dy="15">200k</tspan><tspan dx="0" dy="0">r2</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,230,44)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r2</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>200k</wtx:value>
+ <wtx:label>value-r2-f7dc69ac33489d</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="200" y="204" font-size="12" fill="black" stroke-width="0px" id="value-r3-c1ded050af5f6b"><tspan dx="-14" dy="15">50k</tspan><tspan dx="0" dy="0">r3</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,230,194)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r3</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>50k</wtx:value>
+ <wtx:label>value-r3-c1ded050af5f6b</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="270" y="124" font-size="12" fill="black" stroke-width="0px" id="value-q1-cb86cd9c47bb7b"><tspan dx="-16" dy="15">2n2222</tspan><tspan dx="0" dy="0">q1</tspan></text><g class="npn" stroke-width="2px" stroke="#000" id="Q" transform="matrix(1,0,0,1,270,124)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <!--spice order for transistors is collector base emmitter-->
+ <wtx:node y="0" x="30" index="1"/>
+ <wtx:node y="20" x="0" index="2"/>
+ <wtx:node y="40" x="30" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q1</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>npn</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value>2n2222</wtx:value>
+ <wtx:label>value-q1-cb86cd9c47bb7b</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>2n2222.lib</wtx:model>
+</wtx:part>
+</metadata>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="40" width="40"/>
+ <path d="M15.508,31.531l0-23.068" id="path2178"/>
+ <path fill="none" d="M30,0,30,7.6063,16,16.606" id="path2829"/>
+ <path fill="none" d="m30,40,0-9-14-7" id="path2831"/>
+ <path d="m25,31.606,2-4,3,4-5-0.000001z" id="path3613"/>
+ <path d="m0,20,15,0" id="path3615"/>
+ </g><text x="280" y="204" font-size="12" fill="black" stroke-width="0px" id="value-r4-b426f7e69913c2"><tspan dx="-14" dy="15">1.5k</tspan><tspan dx="0" dy="0">r4</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,310,194)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r4</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1.5k</wtx:value>
+ <wtx:label>value-r4-b426f7e69913c2</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="280" y="54" font-size="12" fill="black" stroke-width="0px" id="value-r5-1fc33581be831d"><tspan dx="-14" dy="15">2k</tspan><tspan dx="0" dy="0">r5</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,310,44)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r5</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>2k</wtx:value>
+ <wtx:label>value-r5-1fc33581be831d</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="350" y="204" font-size="12" fill="black" stroke-width="0px" id="value-c2-7a6c5f02387ac0"><tspan dx="-15" dy="15">100u</tspan><tspan dx="0" dy="0">c2</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,380,204)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c2</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>100u</wtx:value>
+ <wtx:label>value-c2-7a6c5f02387ac0</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="370" y="94" font-size="12" fill="black" stroke-width="0px" id="value-c3-dff89aecb168b0"><tspan dx="-15" dy="15">40u</tspan><tspan dx="0" dy="0">c3</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(1,0,0,1,370,94)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c3</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>40u</wtx:value>
+ <wtx:label>value-c3-dff89aecb168b0</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="420" y="154" font-size="12" fill="black" stroke-width="0px" id="value-r6-ce5a7805da26a2"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r6</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,450,144)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r6</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r6-ce5a7805da26a2</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="510" y="123.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v2-76f4ad882b25d0"><tspan dx="-15" dy="15">10</tspan><tspan dx="0" dy="0">v2</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,550,114)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="50" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v2</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>10</wtx:value>
+ <wtx:label>value-v2-76f4ad882b25d0</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path5009" d="M 0,10 L 17,10"/>
+ <path id="path5019" d="M 32,10 L 50,10"/>
+ <path id="path5011" d="M 17.836609,0.68314333 L 17.718673,19.199113"/>
+ <path id="path5013" d="M 22.436119,3.7494823 L 22.436119,15.071349"/>
+ <path id="path5015" d="M 27.507371,0.68314333 L 27.507371,19.552922"/>
+ <path id="path5017" d="M 31.753072,3.8674183 L 31.635136,15.425157"/>
+ <text stroke-width="0px" font-size="12px" id="text5025" y="8.5261526" x="8.2167969">+</text>
+ <text stroke-width="0px" font-size="12px" id="text5029" y="0.5234375" x="34.111794">_</text>
+ </g><text x="290" y="294.0001220703125" font-size="12" fill="black" stroke-width="0px" id="value-gnd-994978efe8776b"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,290,294)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-994978efe8776b</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="220" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="262" r="3" stroke="black" fill="black"/><circle cx="370" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="186" r="3" stroke="black" fill="black"/><circle cx="300" cy="104" r="3" stroke="black" fill="black"/><circle cx="440" cy="262" r="3" stroke="black" fill="black"/><circle cx="300" cy="13" r="3" stroke="black" fill="black"/><circle cx="220" cy="144" r="3" stroke="black" fill="black"/><circle cx="220" cy="142" r="3" stroke="black" fill="black"/><line x1="220" y1="84" x2="220" y2="194" stroke="black" stroke-width="2"/><line x1="40" y1="224" x2="40" y2="262" stroke="black" stroke-width="2"/><line x1="40" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="540" y1="262" x2="540" y2="164" stroke="black" stroke-width="2"/><line x1="40" y1="262" x2="220" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="234" x2="220" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="262" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="234" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="370" y2="262" stroke="black" stroke-width="2"/><line x1="370" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="370" y1="234" x2="370" y2="262" stroke="black" stroke-width="2"/><line x1="220" y1="262" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="294" x2="300" y2="262" stroke="black" stroke-width="2"/><line x1="300" y1="194" x2="300" y2="164" stroke="black" stroke-width="2"/><line x1="370" y1="204" x2="370" y2="186" stroke="black" stroke-width="2"/><line x1="300" y1="194" x2="300" y2="186" stroke="black" stroke-width="2"/><line x1="300" y1="186" x2="300" y2="164" stroke="black" stroke-width="2"/><line x1="370" y1="186" x2="300" y2="186" stroke="black" stroke-width="2"/><line x1="300" y1="84" x2="300" y2="124" stroke="black" stroke-width="2"/><line x1="300" y1="84" x2="300" y2="104" stroke="black" stroke-width="2"/><line x1="300" y1="104" x2="300" y2="124" stroke="black" stroke-width="2"/><line x1="370" y1="104" x2="300" y2="104" stroke="black" stroke-width="2"/><line x1="400" y1="104" x2="440" y2="104" stroke="black" stroke-width="2"/><line x1="440" y1="104" x2="440" y2="144" stroke="black" stroke-width="2"/><line x1="300" y1="262" x2="440" y2="262" stroke="black" stroke-width="2"/><line x1="440" y1="262" x2="540" y2="262" stroke="black" stroke-width="2"/><line x1="440" y1="184" x2="440" y2="262" stroke="black" stroke-width="2"/><line x1="540" y1="114" x2="540" y2="13" stroke="black" stroke-width="2"/><line x1="540" y1="13" x2="220" y2="13" stroke="black" stroke-width="2"/><line x1="220" y1="13" x2="220" y2="44" stroke="black" stroke-width="2"/><line x1="540" y1="13" x2="300" y2="13" stroke="black" stroke-width="2"/><line x1="300" y1="13" x2="220" y2="13" stroke="black" stroke-width="2"/><line x1="300" y1="44" x2="300" y2="13" stroke="black" stroke-width="2"/><line x1="40" y1="164" x2="40" y2="144" stroke="black" stroke-width="2"/><line x1="40" y1="144" x2="70" y2="144" stroke="black" stroke-width="2"/><line x1="110" y1="144" x2="150" y2="144" stroke="black" stroke-width="2"/><line x1="150" y1="144" x2="180" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="84" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="144" x2="220" y2="194" stroke="black" stroke-width="2"/><line x1="180" y1="144" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="84" x2="220" y2="142" stroke="black" stroke-width="2"/><line x1="220" y1="142" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="270" y1="144" x2="220" y2="144" stroke="black" stroke-width="2"/><line x1="220" y1="144" x2="220" y2="142" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/CMOS_Inverter.svg b/Examples/CMOS_Inverter.svg
new file mode 100644
index 0000000..456ff63
--- /dev/null
+++ b/Examples/CMOS_Inverter.svg
@@ -0,0 +1,256 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="730px" height="397.5px"><rect x="0" y="0" fill="white" width="730px" height="397.5px"/><text x="570" y="250" font-size="12" fill="black" stroke-width="0px" id="value-m1-05bdc8b8d5d530"><tspan dx="0" dy="0">m1</tspan></text><g flippable="true" class="nmosfet" id="m" stroke-width="2px" stroke="black" connects="0,20;30,0;30,40" transform="matrix(1,-1.056299898220315e-23,1.056299898220315e-23,1,570,250)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+<!--pin order is drain gate source substrate
+substrate is connected to source-->
+ <wtx:node y="0" x="30" index="1"/>
+ <wtx:node y="20" x="0" index="2"/>
+ <wtx:node y="40" x="30" index="3"/>
+ <wtx:node y="40" x="30" index="4"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>m1</wtx:id>
+ <wtx:type>m</wtx:type>
+ <wtx:name>nmosfet</wtx:name>
+ <wtx:category>mosfets</wtx:category>
+ <wtx:value/>
+ <wtx:label>value-m1-05bdc8b8d5d530</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model/>
+</wtx:part>
+</metadata> <rect fill="none" x="0" y="0" width="40" height="40" visibility="hidden" id="rect2162"/>
+ <path d="M19.877,12.08z" fill="none" id="path2398"/>
+ <text fill="black" font-style="normal" stroke-width="0px" x="1.0786462" y="18.113794" font-family="Bitstream Vera Sans" font-size="8.19031239px" id="text2823">G</text>
+ <text fill="black" font-style="normal" stroke-width="0px" x="32.072721" y="7.4208322" font-family="Bitstream Vera Sans" font-size="8.0008316px" id="text2827">D</text>
+ <text fill="black" font-style="normal" stroke-width="0px" x="32.333487" y="39.414978" font-family="Bitstream Vera Sans" font-size="8.04845715px" id="text2831">S</text>
+ <path fill="none" d="m20,12.925,10,0,0-13" id="path2891"/>
+ <path fill="none" d="m20,26.925,10,0,0,13" id="path2934"/>
+ <path fill="none" d="m20,19.925,10,0,0,7" id="path2936"/>
+ <path fill="none" d="m20,16.925,0,6" id="path2938"/>
+ <path fill="none" d="m20,23.925,0,6" id="path2942"/>
+ <path fill="none" d="M20,15.925,20,9.9255" id="path2944"/>
+ <path fill="none" d="M17,9.9255,17,29.925" id="path2946"/>
+ <path fill="none" d="m17,19.925-17,0" id="path2948"/>
+ <path fill="none" d="m21,19.925,3-2,0,4-3-2z" id="path3813"/>
+</g><text x="570" y="160" font-size="12" fill="black" stroke-width="0px" id="value-m2-2c8d7d332322fa"><tspan dx="0" dy="0">m2</tspan></text><g class="pmosfet" id="m" stroke-width="2px" stroke="black" transform="matrix(1,-1.2246468525851679e-16,-1.2246468525851679e-16,-1,570,200)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+<!--pin order is gate drain source substrate
+substrate is connected to source-->
+ <wtx:node y="0" x="30" index="1"/>
+ <wtx:node y="20" x="0" index="2"/>
+ <wtx:node y="40" x="30" index="3"/>
+ <wtx:node y="40" x="30" index="4"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>m2</wtx:id>
+ <wtx:type>m</wtx:type>
+ <wtx:name>pmosfet</wtx:name>
+ <wtx:category>mosfets</wtx:category>
+ <wtx:value/>
+ <wtx:label>value-m2-2c8d7d332322fa</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model/>
+</wtx:part>
+</metadata> <rect fill="none" visibility="hidden" x="0" y="0" width="40" height="40" id="rect2162"/>
+ <rect fill="none" x="0" y="0" width="40" height="40" visibility="hidden" id="rect2162"/>
+ <path d="M19.877,12.08z" fill="none" id="path2398"/>
+ <text fill="black" font-style="normal" stroke-width="0px" x="1.0786462" y="18.113794" font-family="Bitstream Vera Sans" font-size="8.19031239px" id="text2823">G</text>
+ <text fill="black" font-style="normal" stroke-width="0px" x="32.072721" y="7.4208322" font-family="Bitstream Vera Sans" font-size="8.0008316px" id="text2827">D</text>
+ <text fill="black" font-style="normal" stroke-width="0px" x="32.333487" y="39.414978" font-family="Bitstream Vera Sans" font-size="8.04845715px" id="text2831">S</text>
+ <path fill="none" d="m20,12.925,10,0,0-13" id="path2891"/>
+ <path fill="none" d="m20,26.925,10,0,0,13" id="path2934"/>
+ <path fill="none" d="m20,19.925,10,0,0,7" id="path2936"/>
+ <path fill="none" d="m20,16.925,0,6" id="path2938"/>
+ <path fill="none" d="m20,23.925,0,6" id="path2942"/>
+ <path fill="none" d="M20,15.925,20,9.9255" id="path2944"/>
+ <path fill="none" d="M17,9.9255,17,29.925" id="path2946"/>
+ <path fill="none" d="m17,19.925-17,0" id="path2948"/>
+
+ <path fill="none" d="m26,17.925,3,2-3,2,0-4z" id="path2952"/>
+
+ </g><text x="580" y="79.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v2-1de0015789f795"><tspan dx="-15" dy="15">5</tspan><tspan dx="0" dy="0">v2</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,590,120)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="50" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v2</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>5</wtx:value>
+ <wtx:label>value-v2-1de0015789f795</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path5009" d="M 0,10 L 17,10"/>
+ <path id="path5019" d="M 32,10 L 50,10"/>
+ <path id="path5011" d="M 17.836609,0.68314333 L 17.718673,19.199113"/>
+ <path id="path5013" d="M 22.436119,3.7494823 L 22.436119,15.071349"/>
+ <path id="path5015" d="M 27.507371,0.68314333 L 27.507371,19.552922"/>
+ <path id="path5017" d="M 31.753072,3.8674183 L 31.635136,15.425157"/>
+ <text stroke-width="0px" font-size="12px" id="text5025" y="8.5261526" x="8.2167969">+</text>
+ <text stroke-width="0px" font-size="12px" id="text5029" y="0.5234375" x="34.111794">_</text>
+ </g><text x="410" y="199.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-7b5cee68c5f54d"><tspan dx="0" dy="0">v1</tspan></text><g class="pwl" id="Pwl" transform="matrix(1,0,0,1,410,200)">
+
+
+<!--
+ pwlval1=first time part T1
+ pwlval2=first voltage part V1
+ pwlval3=T2
+ pwlval4=V2
+ pwlval5=T3
+ pwlval6=V3
+ pwlval7=T4
+ pwlval8=V4
+ -->
+
+
+<metadata class="part">
+<wtx:part xmlns:wtx="http://code.google.com/p/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>pwl</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value/>
+
+ <wtx:pwlval>0m</wtx:pwlval>
+
+
+ <wtx:label>value-v1-7b5cee68c5f54d</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+
+
+
+
+<path d=" M 0.00 0.00 L 60.00 0.00 L 60.00 19.00 C 55.63 19.00 51.25 18.97 46.88 19.05 C 46.14 13.35 43.15 7.80 38.02 4.92 C 30.21 -0.51 18.48 2.78 13.93 10.98 C 11.98 13.26 11.92 16.30 11.12 19.05 C 7.42 18.98 3.71 19.00 0.00 19.00 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 13.93 10.98 C 18.48 2.78 30.21 -0.51 38.02 4.92 C 43.15 7.80 46.14 13.35 46.88 19.05 C 51.25 18.97 55.63 19.00 60.00 19.00 L 60.00 21.00 C 55.62 21.00 51.23 21.02 46.85 20.97 C 46.09 29.36 39.19 36.93 30.66 37.64 C 20.97 38.83 11.90 30.52 11.16 20.97 C 7.44 21.01 3.72 21.00 0.00 21.00 L 0.00 19.00 C 3.71 19.00 7.42 18.98 11.12 19.05 C 11.92 16.30 11.98 13.26 13.93 10.98 Z" fill="#000000"/>
+<path d=" M 28.25 3.15 C 30.45 2.91 32.57 4.05 34.78 4.17 C 39.08 5.83 42.38 9.51 44.67 13.46 C 45.05 15.66 45.53 17.84 45.97 20.04 C 45.50 22.21 45.05 24.39 44.65 26.57 C 42.53 30.39 39.39 33.53 35.57 35.66 C 33.37 36.06 31.18 36.51 29.00 36.97 C 26.81 36.51 24.63 36.06 22.43 35.66 C 18.61 33.53 15.47 30.39 13.35 26.57 C 12.95 24.39 12.50 22.21 12.03 20.03 C 12.47 17.84 12.95 15.66 13.33 13.46 C 15.46 9.61 18.62 6.46 22.46 4.33 C 24.39 3.94 26.34 3.67 28.25 3.15 Z" fill="#ffffff"/>
+<path d=" M 20.36 10.85 C 24.06 11.65 27.69 12.79 31.43 13.46 C 29.65 14.76 27.50 13.55 25.62 13.22 C 23.70 12.89 21.83 12.17 20.36 10.85 Z" fill="#000000"/>
+<path d=" M 24.99 18.15 C 27.91 16.85 30.35 14.52 33.47 13.75 C 31.77 16.31 28.64 17.09 26.01 18.34 C 26.00 20.52 26.00 22.70 25.98 24.88 C 28.77 26.74 32.43 27.40 34.54 30.18 C 31.30 28.80 28.26 26.98 25.00 25.63 C 25.00 23.14 25.00 20.64 24.99 18.15 Z" fill="#000000"/>
+<path d=" M 38.99 16.00 L 40.00 15.98 C 40.00 17.32 40.00 18.66 40.01 20.00 C 41.34 20.00 42.68 20.00 44.02 19.99 L 44.00 20.90 C 41.99 20.94 39.55 20.53 39.51 23.32 C 39.31 22.80 38.90 21.76 38.70 21.25 C 37.57 20.99 36.48 20.64 35.41 20.20 C 36.32 20.12 38.13 19.94 39.03 19.86 C 39.01 18.57 39.00 17.28 38.99 16.00 Z" fill="#000000"/>
+<path d=" M 18.30 17.09 C 19.80 18.34 19.07 21.98 18.70 23.91 C 17.20 22.66 17.93 19.02 18.30 17.09 Z" fill="#000000"/>
+<path d=" M 0.00 21.00 C 3.72 21.00 7.44 21.01 11.16 20.97 C 11.90 30.52 20.97 38.83 30.66 37.64 C 39.19 36.93 46.09 29.36 46.85 20.97 C 51.23 21.02 55.62 21.00 60.00 21.00 L 60.00 40.00 L 24.81 40.00 C 26.25 37.94 22.80 37.85 23.96 40.00 L 0.00 40.00 L 0.00 21.00 Z" fill="#ffffff"/>
+<path d=" M 23.96 40.00 C 22.80 37.85 26.25 37.94 24.81 40.00 L 23.96 40.00 Z" fill="#000000"/>
+</g><text x="690" y="230" font-size="12" fill="black" stroke-width="0px" id="value-c1-b2268e4b476699"><tspan dx="-15" dy="15">1u</tspan><tspan dx="0" dy="0">c1</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,720,230)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c1</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>1u</wtx:value>
+ <wtx:label>value-c1-b2268e4b476699</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="360" y="239.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-bbe0d1d969d972"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,360,240)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-bbe0d1d969d972</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><text x="590" y="369.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-5035f7e63ac2b1"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,590,370)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-5035f7e63ac2b1</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><text x="590" y="39.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-dc399501569dd6"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(-1,1.2246468525851679e-16,-1.2246468525851679e-16,-1,610,60)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-dc399501569dd6</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="526" cy="220" r="3" stroke="black" fill="black"/><circle cx="600" cy="230" r="3" stroke="black" fill="black"/><circle cx="600" cy="332" r="3" stroke="black" fill="black"/><line x1="570" y1="180" x2="526" y2="180" stroke="black" stroke-width="2"/><line x1="526" y1="180" x2="526" y2="270" stroke="black" stroke-width="2"/><line x1="526" y1="270" x2="570" y2="270" stroke="black" stroke-width="2"/><line x1="410" y1="220" x2="370" y2="220" stroke="black" stroke-width="2"/><line x1="370" y1="220" x2="370" y2="240" stroke="black" stroke-width="2"/><line x1="526" y1="180" x2="526" y2="220" stroke="black" stroke-width="2"/><line x1="526" y1="220" x2="526" y2="270" stroke="black" stroke-width="2"/><line x1="470" y1="220" x2="526" y2="220" stroke="black" stroke-width="2"/><line x1="600" y1="120" x2="600" y2="160" stroke="black" stroke-width="2"/><line x1="600" y1="70" x2="600" y2="60" stroke="black" stroke-width="2"/><line x1="600" y1="200" x2="600" y2="250" stroke="black" stroke-width="2"/><line x1="600" y1="290" x2="600" y2="370" stroke="black" stroke-width="2"/><line x1="710" y1="230" x2="603" y2="230" stroke="black" stroke-width="2"/><line x1="600" y1="200" x2="600" y2="230" stroke="black" stroke-width="2"/><line x1="600" y1="230" x2="600" y2="250" stroke="black" stroke-width="2"/><line x1="603" y1="230" x2="600" y2="230" stroke="black" stroke-width="2"/><line x1="710" y1="260" x2="710" y2="332" stroke="black" stroke-width="2"/><line x1="600" y1="290" x2="600" y2="332" stroke="black" stroke-width="2"/><line x1="600" y1="332" x2="600" y2="370" stroke="black" stroke-width="2"/><line x1="710" y1="332" x2="600" y2="332" stroke="black" stroke-width="2"/></svg>
diff --git a/Examples/HighPassFilter.svg b/Examples/HighPassFilter.svg
new file mode 100644
index 0000000..710b40f
--- /dev/null
+++ b/Examples/HighPassFilter.svg
@@ -0,0 +1,109 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="200px" height="157.5px"><rect x="0" y="0" fill="white" width="200px" height="157.5px"/><text x="10" y="50" font-size="12" fill="black" stroke-width="0px" id="value-v1-79d4152b24138b"><tspan dx="0" dy="0">v1</tspan></text><g class="ac" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,100)">
+
+
+<metadata class="part">
+<wtx:part xmlns:wtx="http://code.google.com/p/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>ac</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value/>
+ <wtx:amplitude>10</wtx:amplitude>
+ <wtx:phase>0</wtx:phase>
+ <wtx:label>value-v1-79d4152b24138b</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+
+
+<path d=" M 0.00 0.00 L 60.00 0.00 L 60.00 18.92 C 56.43 18.92 52.87 18.89 49.31 18.96 C 48.41 13.74 45.89 8.64 41.32 5.69 C 33.28 -0.05 21.18 1.19 14.58 8.58 C 11.86 11.37 10.75 15.20 9.91 18.90 C 6.61 18.91 3.31 18.91 0.01 18.92 L 0.00 18.02 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 14.58 8.58 C 21.18 1.19 33.28 -0.05 41.32 5.69 C 45.89 8.64 48.41 13.74 49.31 18.96 C 52.87 18.89 56.43 18.92 60.00 18.92 L 60.00 20.36 C 56.44 20.37 52.88 20.42 49.32 20.35 C 48.37 25.00 46.49 29.68 42.57 32.61 C 34.59 39.35 21.31 38.48 14.46 30.51 C 11.81 27.77 10.77 24.01 9.90 20.41 C 6.60 20.40 3.30 20.40 0.00 20.40 L 0.00 18.02 L 0.01 18.92 C 3.31 18.91 6.61 18.91 9.91 18.90 C 10.75 15.20 11.86 11.37 14.58 8.58 Z" fill="#242223"/>
+<path d=" M 16.79 8.70 C 24.26 1.38 38.00 2.26 44.27 10.71 C 46.12 13.28 47.66 16.48 46.84 19.71 C 47.83 25.27 43.64 30.47 39.04 33.09 C 30.82 38.00 18.81 35.44 13.93 27.02 C 10.46 21.21 11.70 13.17 16.79 8.70 Z" fill="#ffffff"/>
+<path d=" M 35.50 14.74 L 37.09 14.62 C 37.08 16.05 37.08 17.47 37.07 18.89 C 38.40 18.90 39.74 18.91 41.07 18.92 L 41.06 20.37 C 39.72 20.39 38.38 20.42 37.04 20.44 C 37.06 22.02 37.09 23.59 37.10 25.17 L 35.52 25.19 C 35.49 23.60 35.48 22.02 35.47 20.43 C 34.22 20.42 32.96 20.40 31.71 20.39 L 31.56 18.91 C 32.86 18.91 34.16 18.91 35.46 18.90 C 35.47 17.51 35.48 16.12 35.50 14.74 Z" fill="#242223"/>
+<path d=" M 49.32 20.35 C 52.88 20.42 56.44 20.37 60.00 20.36 L 60.00 40.00 L 0.00 40.00 L 0.00 20.40 C 3.30 20.40 6.60 20.40 9.90 20.41 C 10.77 24.01 11.81 27.77 14.46 30.51 C 21.31 38.48 34.59 39.35 42.57 32.61 C 46.49 29.68 48.37 25.00 49.32 20.35 Z" fill="#ffffff"/>
+</g><text x="90" y="10" font-size="12" fill="black" stroke-width="0px" id="value-c1-e57341530a2dc7"><tspan dx="-15" dy="15">10u</tspan><tspan dx="0" dy="0">c1</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(1,0,0,1,90,10)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c1</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>10u</wtx:value>
+ <wtx:label>value-c1-e57341530a2dc7</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="160" y="50" font-size="12" fill="black" stroke-width="0px" id="value-r1-f5bc2b28b254d1"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,190,40)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r1-f5bc2b28b254d1</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="100" y="129.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-998e340d5ad469"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,100,130)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-998e340d5ad469</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="110" cy="123" r="3" stroke="black" fill="black"/><line x1="90" y1="20" x2="40" y2="20" stroke="black" stroke-width="2"/><line x1="40" y1="20" x2="40" y2="40" stroke="black" stroke-width="2"/><line x1="120" y1="20" x2="180" y2="20" stroke="black" stroke-width="2"/><line x1="180" y1="20" x2="180" y2="40" stroke="black" stroke-width="2"/><line x1="40" y1="100" x2="40" y2="123" stroke="black" stroke-width="2"/><line x1="40" y1="123" x2="180" y2="123" stroke="black" stroke-width="2"/><line x1="180" y1="123" x2="180" y2="80" stroke="black" stroke-width="2"/><line x1="40" y1="123" x2="110" y2="123" stroke="black" stroke-width="2"/><line x1="110" y1="123" x2="180" y2="123" stroke="black" stroke-width="2"/><line x1="110" y1="130" x2="110" y2="123" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/LowPassFilter.svg b/Examples/LowPassFilter.svg
new file mode 100644
index 0000000..30b5d8a
--- /dev/null
+++ b/Examples/LowPassFilter.svg
@@ -0,0 +1,109 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="1655px" height="1863px"><rect x="0" y="0" fill="white" width="1655px" height="1863px"/><text x="1630" y="1850" font-size="12" fill="black" stroke-width="0px" id="value-v1-89b972657f7419"><tspan dx="0" dy="0">v1</tspan></text><text x="10" y="60" font-size="12" fill="black" stroke-width="0px" id="value-v1-d769216974f3fd"><tspan dx="0" dy="0">v1</tspan></text><g class="ac" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,110)">
+
+
+<metadata class="part">
+<wtx:part xmlns:wtx="http://code.google.com/p/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>ac</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value/>
+ <wtx:amplitude>10</wtx:amplitude>
+ <wtx:phase>0</wtx:phase>
+ <wtx:label>value-v1-d769216974f3fd</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+
+
+<path d=" M 0.00 0.00 L 60.00 0.00 L 60.00 18.92 C 56.43 18.92 52.87 18.89 49.31 18.96 C 48.41 13.74 45.89 8.64 41.32 5.69 C 33.28 -0.05 21.18 1.19 14.58 8.58 C 11.86 11.37 10.75 15.20 9.91 18.90 C 6.61 18.91 3.31 18.91 0.01 18.92 L 0.00 18.02 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 14.58 8.58 C 21.18 1.19 33.28 -0.05 41.32 5.69 C 45.89 8.64 48.41 13.74 49.31 18.96 C 52.87 18.89 56.43 18.92 60.00 18.92 L 60.00 20.36 C 56.44 20.37 52.88 20.42 49.32 20.35 C 48.37 25.00 46.49 29.68 42.57 32.61 C 34.59 39.35 21.31 38.48 14.46 30.51 C 11.81 27.77 10.77 24.01 9.90 20.41 C 6.60 20.40 3.30 20.40 0.00 20.40 L 0.00 18.02 L 0.01 18.92 C 3.31 18.91 6.61 18.91 9.91 18.90 C 10.75 15.20 11.86 11.37 14.58 8.58 Z" fill="#242223"/>
+<path d=" M 16.79 8.70 C 24.26 1.38 38.00 2.26 44.27 10.71 C 46.12 13.28 47.66 16.48 46.84 19.71 C 47.83 25.27 43.64 30.47 39.04 33.09 C 30.82 38.00 18.81 35.44 13.93 27.02 C 10.46 21.21 11.70 13.17 16.79 8.70 Z" fill="#ffffff"/>
+<path d=" M 35.50 14.74 L 37.09 14.62 C 37.08 16.05 37.08 17.47 37.07 18.89 C 38.40 18.90 39.74 18.91 41.07 18.92 L 41.06 20.37 C 39.72 20.39 38.38 20.42 37.04 20.44 C 37.06 22.02 37.09 23.59 37.10 25.17 L 35.52 25.19 C 35.49 23.60 35.48 22.02 35.47 20.43 C 34.22 20.42 32.96 20.40 31.71 20.39 L 31.56 18.91 C 32.86 18.91 34.16 18.91 35.46 18.90 C 35.47 17.51 35.48 16.12 35.50 14.74 Z" fill="#242223"/>
+<path d=" M 49.32 20.35 C 52.88 20.42 56.44 20.37 60.00 20.36 L 60.00 40.00 L 0.00 40.00 L 0.00 20.40 C 3.30 20.40 6.60 20.40 9.90 20.41 C 10.77 24.01 11.81 27.77 14.46 30.51 C 21.31 38.48 34.59 39.35 42.57 32.61 C 46.49 29.68 48.37 25.00 49.32 20.35 Z" fill="#ffffff"/>
+</g><text x="80" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r1-833c845efab508"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,80,10)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r1-833c845efab508</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="170" y="60" font-size="12" fill="black" stroke-width="0px" id="value-c1-f87a5da7aa9ab3"><tspan dx="-15" dy="15">10u</tspan><tspan dx="0" dy="0">c1</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,200,60)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c1</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>10u</wtx:value>
+ <wtx:label>value-c1-f87a5da7aa9ab3</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="110" y="129.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-6cd384fd1184d0"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,110,130)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-6cd384fd1184d0</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="120" cy="111" r="3" stroke="black" fill="black"/><line x1="40" y1="50" x2="40" y2="24" stroke="black" stroke-width="2"/><line x1="40" y1="24" x2="40" y2="18" stroke="black" stroke-width="2"/><line x1="40" y1="18" x2="80" y2="18" stroke="black" stroke-width="2"/><line x1="80" y1="18" x2="80" y2="20" stroke="black" stroke-width="2"/><line x1="120" y1="20" x2="190" y2="20" stroke="black" stroke-width="2"/><line x1="190" y1="20" x2="190" y2="60" stroke="black" stroke-width="2"/><line x1="190" y1="90" x2="190" y2="111" stroke="black" stroke-width="2"/><line x1="190" y1="111" x2="40" y2="111" stroke="black" stroke-width="2"/><line x1="40" y1="111" x2="40" y2="110" stroke="black" stroke-width="2"/><line x1="190" y1="111" x2="120" y2="111" stroke="black" stroke-width="2"/><line x1="120" y1="111" x2="40" y2="111" stroke="black" stroke-width="2"/><line x1="120" y1="130" x2="120" y2="111" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/RLC.svg b/Examples/RLC.svg
new file mode 100644
index 0000000..aac7807
--- /dev/null
+++ b/Examples/RLC.svg
@@ -0,0 +1,161 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="280px" height="157.51953125px"><rect x="0" y="0" fill="white" width="280px" height="157.51953125px"/><text x="10" y="50.0194091796875" font-size="12" fill="black" stroke-width="0px" id="value-v1-a624ac28199cc3"><tspan dx="0" dy="0">v1</tspan></text><g class="pwl" id="Pwl" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,100.01953125)">
+
+
+<!--
+ pwlval1=first time part T1
+ pwlval2=first voltage part V1
+ pwlval3=T2
+ pwlval4=V2
+ pwlval5=T3
+ pwlval6=V3
+ pwlval7=T4
+ pwlval8=V4
+ -->
+
+
+<metadata class="part">
+<wtx:part xmlns:wtx="http://code.google.com/p/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="20" x="0" index="1"/>
+ <wtx:node y="20" x="60" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v1</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>pwl</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value/>
+
+ <wtx:pwlval1>0m</wtx:pwlval1>
+ <wtx:pwlval2>0</wtx:pwlval2>
+ <wtx:pwlval3>0.5m</wtx:pwlval3>
+ <wtx:pwlval4>5</wtx:pwlval4>
+ <wtx:pwlval5>100m</wtx:pwlval5>
+ <wtx:pwlval6>5</wtx:pwlval6>
+ <wtx:pwlval7>0</wtx:pwlval7>
+
+ <wtx:pwlval8>0</wtx:pwlval8>
+
+
+ <wtx:label>value-v1-a624ac28199cc3</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+
+
+
+
+<path d=" M 0.00 0.00 L 60.00 0.00 L 60.00 19.00 C 55.63 19.00 51.25 18.97 46.88 19.05 C 46.14 13.35 43.15 7.80 38.02 4.92 C 30.21 -0.51 18.48 2.78 13.93 10.98 C 11.98 13.26 11.92 16.30 11.12 19.05 C 7.42 18.98 3.71 19.00 0.00 19.00 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 13.93 10.98 C 18.48 2.78 30.21 -0.51 38.02 4.92 C 43.15 7.80 46.14 13.35 46.88 19.05 C 51.25 18.97 55.63 19.00 60.00 19.00 L 60.00 21.00 C 55.62 21.00 51.23 21.02 46.85 20.97 C 46.09 29.36 39.19 36.93 30.66 37.64 C 20.97 38.83 11.90 30.52 11.16 20.97 C 7.44 21.01 3.72 21.00 0.00 21.00 L 0.00 19.00 C 3.71 19.00 7.42 18.98 11.12 19.05 C 11.92 16.30 11.98 13.26 13.93 10.98 Z" fill="#000000"/>
+<path d=" M 28.25 3.15 C 30.45 2.91 32.57 4.05 34.78 4.17 C 39.08 5.83 42.38 9.51 44.67 13.46 C 45.05 15.66 45.53 17.84 45.97 20.04 C 45.50 22.21 45.05 24.39 44.65 26.57 C 42.53 30.39 39.39 33.53 35.57 35.66 C 33.37 36.06 31.18 36.51 29.00 36.97 C 26.81 36.51 24.63 36.06 22.43 35.66 C 18.61 33.53 15.47 30.39 13.35 26.57 C 12.95 24.39 12.50 22.21 12.03 20.03 C 12.47 17.84 12.95 15.66 13.33 13.46 C 15.46 9.61 18.62 6.46 22.46 4.33 C 24.39 3.94 26.34 3.67 28.25 3.15 Z" fill="#ffffff"/>
+<path d=" M 20.36 10.85 C 24.06 11.65 27.69 12.79 31.43 13.46 C 29.65 14.76 27.50 13.55 25.62 13.22 C 23.70 12.89 21.83 12.17 20.36 10.85 Z" fill="#000000"/>
+<path d=" M 24.99 18.15 C 27.91 16.85 30.35 14.52 33.47 13.75 C 31.77 16.31 28.64 17.09 26.01 18.34 C 26.00 20.52 26.00 22.70 25.98 24.88 C 28.77 26.74 32.43 27.40 34.54 30.18 C 31.30 28.80 28.26 26.98 25.00 25.63 C 25.00 23.14 25.00 20.64 24.99 18.15 Z" fill="#000000"/>
+<path d=" M 38.99 16.00 L 40.00 15.98 C 40.00 17.32 40.00 18.66 40.01 20.00 C 41.34 20.00 42.68 20.00 44.02 19.99 L 44.00 20.90 C 41.99 20.94 39.55 20.53 39.51 23.32 C 39.31 22.80 38.90 21.76 38.70 21.25 C 37.57 20.99 36.48 20.64 35.41 20.20 C 36.32 20.12 38.13 19.94 39.03 19.86 C 39.01 18.57 39.00 17.28 38.99 16.00 Z" fill="#000000"/>
+<path d=" M 18.30 17.09 C 19.80 18.34 19.07 21.98 18.70 23.91 C 17.20 22.66 17.93 19.02 18.30 17.09 Z" fill="#000000"/>
+<path d=" M 0.00 21.00 C 3.72 21.00 7.44 21.01 11.16 20.97 C 11.90 30.52 20.97 38.83 30.66 37.64 C 39.19 36.93 46.09 29.36 46.85 20.97 C 51.23 21.02 55.62 21.00 60.00 21.00 L 60.00 40.00 L 24.81 40.00 C 26.25 37.94 22.80 37.85 23.96 40.00 L 0.00 40.00 L 0.00 21.00 Z" fill="#ffffff"/>
+<path d=" M 23.96 40.00 C 22.80 37.85 26.25 37.94 24.81 40.00 L 23.96 40.00 Z" fill="#000000"/>
+</g><text x="80" y="10.01953125" font-size="12" fill="black" stroke-width="0px" id="value-r1-c062762c0929d1"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,80,10.01953125)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r1</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>1k</wtx:value>
+ <wtx:label>value-r1-c062762c0929d1</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path fill="none" id="path3444" d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"/>
+ <path id="path2159" d="m 0,10 5.424147,0"/>
+ <path id="path2161" d="m 40,10 -5.459106,0"/>
+ <rect visibility="hidden" id="rect2162" y="0" x="0" height="20" width="40"/>
+
+ </g><text x="170" y="10.01953125" font-size="12" fill="black" stroke-width="0px" id="value-l1-1cbc4a746871ad"><tspan dx="-12" dy="15">2</tspan><tspan dx="0" dy="0">l1</tspan></text><g class="coil" id="L" stroke-width="2px" stroke="black" connects="0,10;60,10" transform="matrix(1,0,0,1,170,10.01953125)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="60" index="2"/>
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>l1</wtx:id>
+
+ <wtx:type>l</wtx:type>
+ <wtx:name>coil</wtx:name>
+ <wtx:category>inductors</wtx:category>
+ <wtx:flip/>
+ <wtx:value>2</wtx:value>
+ <wtx:label>value-l1-1cbc4a746871ad</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+ </wtx:part>
+</metadata>
+
+ <path fill="none" id="path2905" d="m 0,10 10,0 C 10,10 9.6107334,-0.12011806 14.591528,0.31770045 21.747112,0.94668589 24.470253,17.720009 20.544629,19.8941 15.951065,16.735947 18.786323,-0.6683819 25,0 31.159111,0.66251249 34.941921,15.894397 30.453858,20.030257 26.167898,17.899016 27.910571,0.45899332 35,0 41.407905,-0.41486922 44.153942,17.10781 40.363086,20.075643 35.723271,16.865025 37.979061,-0.59780321 45,0 c 4.981974,0.42419394 5,10 5,10 l 10,0"/>
+ </g><text x="240" y="60.01953125" font-size="12" fill="black" stroke-width="0px" id="value-c1-6eb78eac286bf5"><tspan dx="-15" dy="15">0.5u</tspan><tspan dx="0" dy="0">c1</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,270,60.01953125)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="10" x="30" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c1</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>0.5u</wtx:value>
+ <wtx:label>value-c1-6eb78eac286bf5</wtx:label>
+ <wtx:spice/>
+ <wtx:flip/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path3412" d="M 10,0 10,20"/>
+ <path id="path3414" d="m 20,0 0,20"/>
+ <path id="path3420" d="m 20,10 10,0"/>
+ <path id="path3422" d="M 10,10 0,10"/>
+ </g><text x="130" y="130.0194091796875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-43226dcc177ba7"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,130,130.01953125)">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="0" x="10" index="1"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-gnd-43226dcc177ba7</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+</wtx:part>
+</metadata>
+
+ <path id="path3694" d="M 10,0 L 10,11"/>
+ <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/>
+ <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/>
+ <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/>
+ </g><circle cx="140" cy="115.01953125" r="3" stroke="black" fill="black"/><line x1="40" y1="40.01953125" x2="40" y2="23.01953125" stroke="black" stroke-width="2"/><line x1="40" y1="23.01953125" x2="40" y2="20.01953125" stroke="black" stroke-width="2"/><line x1="40" y1="20.01953125" x2="80" y2="20.01953125" stroke="black" stroke-width="2"/><line x1="120" y1="20.01953125" x2="170" y2="20.01953125" stroke="black" stroke-width="2"/><line x1="230" y1="20.01953125" x2="262" y2="20.01953125" stroke="black" stroke-width="2"/><line x1="262" y1="20.01953125" x2="262" y2="60.01953125" stroke="black" stroke-width="2"/><line x1="262" y1="60.01953125" x2="260" y2="60.01953125" stroke="black" stroke-width="2"/><line x1="260" y1="90.01953125" x2="260" y2="115.01953125" stroke="black" stroke-width="2"/><line x1="260" y1="115.01953125" x2="40" y2="115.01953125" stroke="black" stroke-width="2"/><line x1="40" y1="115.01953125" x2="40" y2="100.01953125" stroke="black" stroke-width="2"/><line x1="140" y1="130.01953125" x2="140" y2="115.01953125" stroke="black" stroke-width="2"/><line x1="260" y1="115.01953125" x2="140" y2="115.01953125" stroke="black" stroke-width="2"/><line x1="140" y1="115.01953125" x2="40" y2="115.01953125" stroke="black" stroke-width="2"/></svg> \ No newline at end of file