summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfahim-oscad2016-08-10 11:31:58 +0530
committerfahim-oscad2016-08-10 11:31:58 +0530
commitff35454ca6685640069fea41aacac24c875cf6d8 (patch)
treecccf4156ddde0f0a039bc356a6266a8d7b06770c
parent3516c9de5acd9ab3c08629edc34baac910c521dc (diff)
downloadeSimWebApp-ff35454ca6685640069fea41aacac24c875cf6d8.tar.gz
eSimWebApp-ff35454ca6685640069fea41aacac24c875cf6d8.tar.bz2
eSimWebApp-ff35454ca6685640069fea41aacac24c875cf6d8.zip
Added Examples
-rw-r--r--Examples/Clamper1.svg110
-rw-r--r--Examples/Clamper2.svg110
-rw-r--r--Examples/Clipper.svg136
-rw-r--r--Examples/Differentiator.svg307
-rw-r--r--Examples/DiodeChar.svg105
-rw-r--r--Examples/FETFreqResponse.svg247
-rw-r--r--Examples/Integrator.svg307
-rw-r--r--Examples/InvertingAmplifier.svg234
-rw-r--r--Examples/Oscillator.svg409
-rw-r--r--Examples/ParallelResonance.svg159
-rw-r--r--Examples/RL.svg137
-rw-r--r--Examples/SeriesResonance.svg133
-rw-r--r--Examples/ZenerChar.svg116
-rw-r--r--Examples/bridgerectifier.svg184
-rw-r--r--Examples/halfwaverectifier.svg112
-rw-r--r--Examples/rc.svg112
16 files changed, 2918 insertions, 0 deletions
diff --git a/Examples/Clamper1.svg b/Examples/Clamper1.svg
new file mode 100644
index 0000000..742118d
--- /dev/null
+++ b/Examples/Clamper1.svg
@@ -0,0 +1,110 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="258px" height="177.5px"><rect x="0" y="0" fill="white" width="258px" height="177.5px"/><text x="10" y="60" font-size="12" fill="black" stroke-width="0px" id="value-v1-05c18dd81daa3d"><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,50)">
+<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>5</wtx:voltageamplitude>
+ <wtx:frequency>50</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-05c18dd81daa3d</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><text x="110" y="10" font-size="12" fill="black" stroke-width="0px" id="value-c1-71574a757bca86"><tspan dx="-15" dy="15">1nf</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,110,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>1nf</wtx:value>
+ <wtx:label>value-c1-71574a757bca86</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="70" font-size="12" fill="black" stroke-width="0px" id="value-d1-a7c963558c8147"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d1</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,210,100)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d1</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d1-a7c963558c8147</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="130" y="149.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-70ac59e6d54fdb"><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,150)">
+<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-70ac59e6d54fdb</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="130" r="3" stroke="black" fill="black"/><line x1="40" y1="50" x2="40" y2="22" stroke="black" stroke-width="2"/><line x1="40" y1="22" x2="110" y2="22" stroke="black" stroke-width="2"/><line x1="110" y1="22" x2="110" y2="20" stroke="black" stroke-width="2"/><line x1="140" y1="20" x2="220" y2="20" stroke="black" stroke-width="2"/><line x1="220" y1="20" x2="220" y2="60" stroke="black" stroke-width="2"/><line x1="220" y1="100" x2="220" y2="130" stroke="black" stroke-width="2"/><line x1="220" y1="130" x2="40" y2="130" stroke="black" stroke-width="2"/><line x1="40" y1="130" x2="40" y2="110" stroke="black" stroke-width="2"/><line x1="220" y1="130" x2="140" y2="130" stroke="black" stroke-width="2"/><line x1="140" y1="130" x2="40" y2="130" stroke="black" stroke-width="2"/><line x1="140" y1="150" x2="140" y2="130" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/Clamper2.svg b/Examples/Clamper2.svg
new file mode 100644
index 0000000..a6c0be2
--- /dev/null
+++ b/Examples/Clamper2.svg
@@ -0,0 +1,110 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="248px" height="167.5px"><rect x="0" y="0" fill="white" width="248px" height="167.5px"/><text x="10" y="60" font-size="12" fill="black" stroke-width="0px" id="value-v1-dfc38338408a5e"><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,50)">
+<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>5</wtx:voltageamplitude>
+ <wtx:frequency>50</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-dfc38338408a5e</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><text x="190" y="60" font-size="12" fill="black" stroke-width="0px" id="value-d1-16b39620f3579d"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d1</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(3.0616169991140216e-16,1,-1,3.0616169991140216e-16,220,50)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d1</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d1-16b39620f3579d</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="110" y="10" font-size="12" fill="black" stroke-width="0px" id="value-c1-54b637b4cb8724"><tspan dx="-15" dy="15">1nf</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,110,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>1nf</wtx:value>
+ <wtx:label>value-c1-54b637b4cb8724</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="139.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-4a55fb16e8b939"><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,140)">
+<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-4a55fb16e8b939</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="124" r="3" stroke="black" fill="black"/><line x1="40" y1="50" x2="40" y2="20" stroke="black" stroke-width="2"/><line x1="40" y1="20" x2="110" y2="20" stroke="black" stroke-width="2"/><line x1="140" y1="20" x2="210" y2="20" stroke="black" stroke-width="2"/><line x1="210" y1="20" x2="210" y2="50" stroke="black" stroke-width="2"/><line x1="210" y1="90" x2="210" y2="124" stroke="black" stroke-width="2"/><line x1="210" y1="124" x2="40" y2="124" stroke="black" stroke-width="2"/><line x1="40" y1="124" x2="40" y2="110" stroke="black" stroke-width="2"/><line x1="210" y1="124" x2="120" y2="124" stroke="black" stroke-width="2"/><line x1="120" y1="124" x2="40" y2="124" stroke="black" stroke-width="2"/><line x1="120" y1="140" x2="120" y2="124" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/Clipper.svg b/Examples/Clipper.svg
new file mode 100644
index 0000000..b230cfb
--- /dev/null
+++ b/Examples/Clipper.svg
@@ -0,0 +1,136 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="358px" height="187.5px"><rect x="0" y="0" fill="white" width="358px" height="187.5px"/><text x="10" y="60" font-size="12" fill="black" stroke-width="0px" id="value-v1-5492edf60d2a6b"><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,50)">
+<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>5</wtx:voltageamplitude>
+ <wtx:frequency>50</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-5492edf60d2a6b</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><text x="120" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r1-d6fb851241887c"><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,120,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-d6fb851241887c</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="220" y="60" font-size="12" fill="black" stroke-width="0px" id="value-d1-1e310e593a5f1e"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d1</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,250,50)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d1</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d1-1e310e593a5f1e</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="300" y="60" font-size="12" fill="black" stroke-width="0px" id="value-d2-b380f82c7120c3"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d2</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,310,90)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d2</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d2-b380f82c7120c3</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="160" y="159.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-71551e064cf51c"><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,160,160)">
+<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-71551e064cf51c</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="170" cy="151" r="3" stroke="black" fill="black"/><circle cx="240" cy="20" r="3" stroke="black" fill="black"/><circle cx="240" cy="151" r="3" stroke="black" fill="black"/><line x1="40" y1="50" x2="40" y2="19" stroke="black" stroke-width="2"/><line x1="40" y1="19" x2="120" y2="19" stroke="black" stroke-width="2"/><line x1="120" y1="19" x2="120" y2="20" stroke="black" stroke-width="2"/><line x1="160" y1="20" x2="320" y2="20" stroke="black" stroke-width="2"/><line x1="320" y1="20" x2="320" y2="50" stroke="black" stroke-width="2"/><line x1="320" y1="90" x2="320" y2="151" stroke="black" stroke-width="2"/><line x1="320" y1="151" x2="40" y2="151" stroke="black" stroke-width="2"/><line x1="40" y1="151" x2="40" y2="110" stroke="black" stroke-width="2"/><line x1="320" y1="151" x2="170" y2="151" stroke="black" stroke-width="2"/><line x1="170" y1="151" x2="40" y2="151" stroke="black" stroke-width="2"/><line x1="170" y1="160" x2="170" y2="151" stroke="black" stroke-width="2"/><line x1="160" y1="20" x2="240" y2="20" stroke="black" stroke-width="2"/><line x1="240" y1="20" x2="320" y2="20" stroke="black" stroke-width="2"/><line x1="240" y1="50" x2="240" y2="20" stroke="black" stroke-width="2"/><line x1="320" y1="151" x2="240" y2="151" stroke="black" stroke-width="2"/><line x1="240" y1="151" x2="170" y2="151" stroke="black" stroke-width="2"/><line x1="240" y1="90" x2="240" y2="151" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/Differentiator.svg b/Examples/Differentiator.svg
new file mode 100644
index 0000000..b876a13
--- /dev/null
+++ b/Examples/Differentiator.svg
@@ -0,0 +1,307 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="464px" height="227.5px"><rect x="0" y="0" fill="white" width="464px" height="227.5px"/><text x="240" y="89.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-x1-c533a1f8a6fac8"><tspan dx="-15" dy="15">ua741</tspan><tspan dx="0" dy="0">x1</tspan></text><g class="op-amp" id="x" transform="matrix(1,1.2246468525851679e-16,1.2246468525851679e-16,-1,240,150)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+<!--
+all opamp models must be in this order
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OPEN COLLECTOR OUTPUT
+* | | | | |
+.SUBCKT LM339 1 2 3 4 5
+-->
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="50" x="0" index="2"/>
+
+ <wtx:node y="30" x="60" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>x1</wtx:id>
+ <wtx:type>x</wtx:type>
+ <wtx:name>op-amp</wtx:name>
+ <wtx:category>subcircuits</wtx:category>
+ <wtx:value>ua741</wtx:value>
+ <wtx:spice/>
+ <wtx:label>value-x1-c533a1f8a6fac8</wtx:label>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>ua741.sub</wtx:model>
+</wtx:part>
+</metadata>
+
+
+
+<path d=" M 0.00 0.00 L 8.99 0.00 C 9.01 3.00 8.99 6.00 9.00 9.00 C 6.00 8.98 3.00 9.01 0.00 9.00 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 8.99 0.00 L 11.44 0.00 C 23.93 8.97 36.11 18.37 48.40 27.61 C 51.73 30.09 56.16 28.65 60.00 29.00 L 60.00 31.00 C 56.17 31.35 51.73 29.91 48.41 32.39 C 36.13 41.65 23.95 51.03 11.46 60.00 L 8.99 60.00 C 9.01 57.00 8.99 54.00 9.00 51.00 C 6.00 51.01 3.00 50.99 0.00 51.00 L 0.00 49.00 C 3.00 49.01 6.00 48.98 9.00 49.00 C 9.00 36.33 9.00 23.67 9.00 11.00 C 6.00 11.01 3.00 10.99 0.00 11.00 L 0.00 9.00 C 3.00 9.01 6.00 8.98 9.00 9.00 C 8.99 6.00 9.01 3.00 8.99 0.00 Z" fill="#000000"/>
+<path d=" M 11.44 0.00 L 60.00 0.00 L 60.00 29.00 C 56.16 28.65 51.73 30.09 48.40 27.61 C 36.11 18.37 23.93 8.97 11.44 0.00 Z" fill="#ffffff"/>
+<path d=" M 11.00 1.72 C 23.24 11.47 35.93 20.69 48.51 30.00 C 35.93 39.31 23.24 48.53 11.00 58.28 C 11.00 39.43 11.00 20.57 11.00 1.72 Z" fill="#ffffff"/>
+<path d=" M 0.00 11.00 C 3.00 10.99 6.00 11.01 9.00 11.00 C 9.00 23.67 9.00 36.33 9.00 49.00 C 6.00 48.98 3.00 49.01 0.00 49.00 L 0.00 11.00 Z" fill="#ffffff"/>
+<path d=" M 15.40 16.95 C 17.84 16.26 19.97 15.01 21.00 12.58 C 21.00 13.40 20.98 15.03 20.98 15.85 C 21.88 15.95 23.69 16.15 24.60 16.26 C 23.48 16.70 22.32 17.01 21.13 17.21 C 21.03 18.05 20.82 19.73 20.72 20.57 C 20.25 19.43 19.94 18.26 19.78 17.03 C 18.32 17.04 16.86 17.01 15.40 16.95 Z" fill="#000000"/>
+<path d=" M 48.41 32.39 C 51.73 29.91 56.17 31.35 60.00 31.00 L 60.00 60.00 L 11.46 60.00 C 23.95 51.03 36.13 41.65 48.41 32.39 Z" fill="#ffffff"/>
+<path d=" M 15.09 47.30 C 16.71 46.88 19.99 46.22 20.90 47.70 C 19.29 48.12 16.01 48.78 15.09 47.30 Z" fill="#000000"/>
+<path d=" M 0.00 51.00 C 3.00 50.99 6.00 51.01 9.00 51.00 C 8.99 54.00 9.01 57.00 8.99 60.00 L 0.00 60.00 L 0.00 51.00 Z" fill="#ffffff"/>
+</g><text x="90" y="90" font-size="12" fill="black" stroke-width="0px" id="value-r1-c5c2a84856ab0c"><tspan dx="-14" dy="15">100k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,90,90)">
+<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>100k</wtx:value>
+ <wtx:label>value-r1-c5c2a84856ab0c</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="160" y="90" font-size="12" fill="black" stroke-width="0px" id="value-c1-b9d43b3f7e1852"><tspan dx="-15" dy="15">20n</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,160,90)">
+<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>20n</wtx:value>
+ <wtx:label>value-c1-b9d43b3f7e1852</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="250" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r2-b8e535c243564e"><tspan dx="-14" dy="15">10k</tspan><tspan dx="0" dy="0">r2</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,250,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>r2</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>10k</wtx:value>
+ <wtx:label>value-r2-b8e535c243564e</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="360" y="110" font-size="12" fill="black" stroke-width="0px" id="value-r3-3a877652f2a7b4"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r3</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,360,110)">
+<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>1k</wtx:value>
+ <wtx:label>value-r3-3a877652f2a7b4</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="150" font-size="12" fill="black" stroke-width="0px" id="value-r4-6c5c8f91da9758"><tspan dx="-14" dy="15">1k</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,180,140)">
+<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>1k</wtx:value>
+ <wtx:label>value-r4-6c5c8f91da9758</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="160" y="199.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-91204dbd565da5"><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,160,200)">
+<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-91204dbd565da5</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="430" y="129.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-f34f5f0a1e395f"><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,430,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-f34f5f0a1e395f</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="10" y="109.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-e9d14df2a25738"><tspan dx="0" dy="0">v1</tspan></text><g class="pwl" id="Pwl" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,160)">
+
+
+<!--
+ 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>0</wtx:pwlval1>
+ <wtx:pwlval2>0</wtx:pwlval2>
+ <wtx:pwlval3>0.5m</wtx:pwlval3>
+ <wtx:pwlval4>5</wtx:pwlval4>
+ <wtx:pwlval5>25m</wtx:pwlval5>
+ <wtx:pwlval6>5</wtx:pwlval6>
+ <wtx:pwlval7>25.5m</wtx:pwlval7>
+
+ <wtx:pwlval8>0</wtx:pwlval8>
+
+
+ <wtx:label>value-v1-e9d14df2a25738</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="30" y="179.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-24486763b78f83"><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,30,180)">
+<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-24486763b78f83</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="216" cy="100" r="3" stroke="black" fill="black"/><circle cx="328" cy="120" r="3" stroke="black" fill="black"/><line x1="40" y1="180" x2="40" y2="160" stroke="black" stroke-width="2"/><line x1="40" y1="100" x2="90" y2="100" stroke="black" stroke-width="2"/><line x1="130" y1="100" x2="160" y2="100" stroke="black" stroke-width="2"/><line x1="190" y1="100" x2="240" y2="100" stroke="black" stroke-width="2"/><line x1="170" y1="140" x2="240" y2="140" stroke="black" stroke-width="2"/><line x1="170" y1="180" x2="170" y2="200" stroke="black" stroke-width="2"/><line x1="300" y1="120" x2="360" y2="120" stroke="black" stroke-width="2"/><line x1="400" y1="120" x2="440" y2="120" stroke="black" stroke-width="2"/><line x1="440" y1="120" x2="440" y2="130" stroke="black" stroke-width="2"/><line x1="250" y1="20" x2="216" y2="20" stroke="black" stroke-width="2"/><line x1="190" y1="100" x2="216" y2="100" stroke="black" stroke-width="2"/><line x1="216" y1="100" x2="240" y2="100" stroke="black" stroke-width="2"/><line x1="216" y1="20" x2="216" y2="100" stroke="black" stroke-width="2"/><line x1="290" y1="20" x2="328" y2="20" stroke="black" stroke-width="2"/><line x1="300" y1="120" x2="328" y2="120" stroke="black" stroke-width="2"/><line x1="328" y1="120" x2="360" y2="120" stroke="black" stroke-width="2"/><line x1="328" y1="20" x2="328" y2="120" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/DiodeChar.svg b/Examples/DiodeChar.svg
new file mode 100644
index 0000000..2c3a5f2
--- /dev/null
+++ b/Examples/DiodeChar.svg
@@ -0,0 +1,105 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="265px" height="166.75px"><rect x="0" y="0" fill="white" width="265px" height="166.75px"/><text x="25" y="59.2498779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-9eb4243a2b73c3"><tspan dx="-15" dy="15">1</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,65,49.25)">
+<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>1</wtx:value>
+ <wtx:label>value-v1-9eb4243a2b73c3</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="115" y="9.25" font-size="12" fill="black" stroke-width="0px" id="value-d1-2364d7f6ac2677"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d1</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(-1,1.2246468525851679e-16,-1.2246468525851679e-16,-1,155,29.25)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d1</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d1-2364d7f6ac2677</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="225" y="59.25" font-size="12" fill="black" stroke-width="0px" id="value-r1-161ec958340c5e"><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,255,49.25)">
+<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-161ec958340c5e</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="135" y="139.2498779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-f6fce65bc8471e"><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,135,139.25)">
+<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-f6fce65bc8471e</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="144" cy="122.25" r="3" stroke="black" fill="black"/><line x1="55" y1="49.25" x2="55" y2="20.25" stroke="black" stroke-width="2"/><line x1="55" y1="20.25" x2="115" y2="20.25" stroke="black" stroke-width="2"/><line x1="115" y1="20.25" x2="115" y2="19.25" stroke="black" stroke-width="2"/><line x1="155" y1="19.25" x2="245" y2="19.25" stroke="black" stroke-width="2"/><line x1="245" y1="19.25" x2="245" y2="49.25" stroke="black" stroke-width="2"/><line x1="245" y1="89.25" x2="245" y2="122.25" stroke="black" stroke-width="2"/><line x1="245" y1="122.25" x2="55" y2="122.25" stroke="black" stroke-width="2"/><line x1="55" y1="122.25" x2="55" y2="99.25" stroke="black" stroke-width="2"/><line x1="245" y1="122.25" x2="144" y2="122.25" stroke="black" stroke-width="2"/><line x1="144" y1="122.25" x2="55" y2="122.25" stroke="black" stroke-width="2"/><line x1="145" y1="139.25" x2="145" y2="122.25" stroke="black" stroke-width="2"/><line x1="145" y1="122.25" x2="144" y2="122.25" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/FETFreqResponse.svg b/Examples/FETFreqResponse.svg
new file mode 100644
index 0000000..2d95829
--- /dev/null
+++ b/Examples/FETFreqResponse.svg
@@ -0,0 +1,247 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="501.4765625px" height="288.5px"><rect x="0" y="0" fill="white" width="501.4765625px" height="288.5px"/><text x="260" y="101" font-size="12" fill="black" stroke-width="0px" id="value-j1-26ca704b08ac44"><tspan dx="-12" dy="15">2n3819</tspan><tspan dx="0" dy="0">j1</tspan></text><g class="njfet" flippable="true" connects="0,20;30,0;30,40" stroke-width="2px" stroke="#000" id="Q" transform="matrix(1,0,0,1,260,101)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <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>j1</wtx:id>
+ <wtx:type>j</wtx:type>
+ <wtx:name>njfet</wtx:name>
+ <wtx:category>mosfets</wtx:category>
+ <wtx:value>2n3819</wtx:value>
+ <wtx:label>value-j1-26ca704b08ac44</wtx:label>
+ <wtx:spice/>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>2n3819.lib</wtx:model>
+</wtx:part>
+</metadata>
+ <rect fill="none" x="0" y="0" width="40" height="40" visibility="hidden" id="rect2162"/>
+ <path d="M30,13,30,0" id="path2840"/>
+ <path d="M30,25,30,40" id="path2844"/>
+ <path d="M16,20h-16" id="path3568"/>
+ <path d="M10,16l5.794,3.87-5.676,3.862" id="path3572"/>
+ <path d="M16.247,33.517v-27.223" id="path2178"/>
+ <path d="M16.247,33.517v-27.223" id="path2178"/>
+ <text fill="#000000" stroke-width="0px" x="1.0786462" y="18.113794" font-family="Bitstream Vera Sans" font-size="8px" id="text2823">G</text>
+ <text fill="#000000" stroke-width="0px" x="33" y="7.4208322" font-family="Bitstream Vera Sans" font-size="8px" id="text2827">D</text>
+ <text fill="#000000" stroke-width="0px" x="33" y="39.414978" font-family="Bitstream Vera Sans" font-size="8px" id="text2831">S</text>
+ <path d="M16,13,31,13" id="path2838"/>
+ <path d="M16,25,31,25" id="path2842"/>
+ </g><text x="150" y="171" font-size="12" fill="black" stroke-width="0px" id="value-r1-434d39247b6dee"><tspan dx="-14" dy="15">1Meg</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,180,161)">
+<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>1Meg</wtx:value>
+ <wtx:label>value-r1-434d39247b6dee</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="171" font-size="12" fill="black" stroke-width="0px" id="value-r2-11cf14868eb479"><tspan dx="-14" dy="15">470</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,300,161)">
+<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>470</wtx:value>
+ <wtx:label>value-r2-11cf14868eb479</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="21" font-size="12" fill="black" stroke-width="0px" id="value-r3-da59defec8c071"><tspan dx="-14" dy="15">3k</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,300,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>r3</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>3k</wtx:value>
+ <wtx:label>value-r3-da59defec8c071</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="110" y="111" font-size="12" fill="black" stroke-width="0px" id="value-c1-c16de834b973dd"><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(1,0,0,1,110,111)">
+<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-c16de834b973dd</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="350" y="171" font-size="12" fill="black" stroke-width="0px" id="value-c2-0868339e5cb82a"><tspan dx="-15" dy="15">0.1u</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,171)">
+<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>0.1u</wtx:value>
+ <wtx:label>value-c2-0868339e5cb82a</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="10" y="151" font-size="12" fill="black" stroke-width="0px" id="value-v1-7c52893504d689"><tspan dx="0" dy="0">v1</tspan></text><g class="ac" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,201)">
+
+
+<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.1m</wtx:amplitude>
+ <wtx:phase>0</wtx:phase>
+ <wtx:label>value-v1-7c52893504d689</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="440" y="80.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v2-c562d99068a397"><tspan dx="-15" dy="15">20</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,480,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>v2</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>sources</wtx:category>
+ <wtx:value>20</wtx:value>
+ <wtx:label>value-v2-c562d99068a397</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="280" y="260.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-45ad79c0f6c530"><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,280,261)">
+<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-45ad79c0f6c530</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="170" cy="121" r="3" stroke="black" fill="black"/><circle cx="170" cy="242" r="3" stroke="black" fill="black"/><circle cx="290" cy="242" r="3" stroke="black" fill="black"/><circle cx="290" cy="150" r="3" stroke="black" fill="black"/><circle cx="370" cy="242" r="3" stroke="black" fill="black"/><circle cx="290" cy="242" r="3" stroke="black" fill="black"/><line x1="40" y1="141" x2="40" y2="121" stroke="black" stroke-width="2"/><line x1="40" y1="121" x2="110" y2="121" stroke="black" stroke-width="2"/><line x1="140" y1="121" x2="260" y2="121" stroke="black" stroke-width="2"/><line x1="290" y1="51" x2="290" y2="101" stroke="black" stroke-width="2"/><line x1="290" y1="11" x2="470" y2="11" stroke="black" stroke-width="2"/><line x1="470" y1="11" x2="470" y2="71" stroke="black" stroke-width="2"/><line x1="470" y1="121" x2="470" y2="242" stroke="black" stroke-width="2"/><line x1="470" y1="242" x2="40" y2="242" stroke="black" stroke-width="2"/><line x1="40" y1="242" x2="40" y2="201" stroke="black" stroke-width="2"/><line x1="140" y1="121" x2="170" y2="121" stroke="black" stroke-width="2"/><line x1="170" y1="121" x2="260" y2="121" stroke="black" stroke-width="2"/><line x1="170" y1="161" x2="170" y2="121" stroke="black" stroke-width="2"/><line x1="470" y1="242" x2="170" y2="242" stroke="black" stroke-width="2"/><line x1="170" y1="242" x2="40" y2="242" stroke="black" stroke-width="2"/><line x1="170" y1="201" x2="170" y2="242" stroke="black" stroke-width="2"/><line x1="290" y1="161" x2="290" y2="141" stroke="black" stroke-width="2"/><line x1="470" y1="242" x2="290" y2="242" stroke="black" stroke-width="2"/><line x1="290" y1="242" x2="170" y2="242" stroke="black" stroke-width="2"/><line x1="290" y1="201" x2="290" y2="242" stroke="black" stroke-width="2"/><line x1="370" y1="171" x2="370" y2="150" stroke="black" stroke-width="2"/><line x1="290" y1="161" x2="290" y2="150" stroke="black" stroke-width="2"/><line x1="290" y1="150" x2="290" y2="141" stroke="black" stroke-width="2"/><line x1="370" y1="150" x2="290" y2="150" stroke="black" stroke-width="2"/><line x1="470" y1="242" x2="370" y2="242" stroke="black" stroke-width="2"/><line x1="370" y1="242" x2="290" y2="242" stroke="black" stroke-width="2"/><line x1="370" y1="201" x2="370" y2="242" stroke="black" stroke-width="2"/><line x1="470" y1="242" x2="290" y2="242" stroke="black" stroke-width="2"/><line x1="290" y1="242" x2="170" y2="242" stroke="black" stroke-width="2"/><line x1="290" y1="261" x2="290" y2="242" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/Integrator.svg b/Examples/Integrator.svg
new file mode 100644
index 0000000..a0ebc39
--- /dev/null
+++ b/Examples/Integrator.svg
@@ -0,0 +1,307 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="454px" height="267.5px"><rect x="0" y="0" fill="white" width="454px" height="267.5px"/><text x="210" y="129.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-x1-5b95fe40e83ae2"><tspan dx="-15" dy="15">ua741</tspan><tspan dx="0" dy="0">x1</tspan></text><g class="op-amp" id="x" transform="matrix(1,1.2246468525851679e-16,1.2246468525851679e-16,-1,210,190)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+<!--
+all opamp models must be in this order
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OPEN COLLECTOR OUTPUT
+* | | | | |
+.SUBCKT LM339 1 2 3 4 5
+-->
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="50" x="0" index="2"/>
+
+ <wtx:node y="30" x="60" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>x1</wtx:id>
+ <wtx:type>x</wtx:type>
+ <wtx:name>op-amp</wtx:name>
+ <wtx:category>subcircuits</wtx:category>
+ <wtx:value>ua741</wtx:value>
+ <wtx:spice/>
+ <wtx:label>value-x1-5b95fe40e83ae2</wtx:label>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>ua741.sub</wtx:model>
+</wtx:part>
+</metadata>
+
+
+
+<path d=" M 0.00 0.00 L 8.99 0.00 C 9.01 3.00 8.99 6.00 9.00 9.00 C 6.00 8.98 3.00 9.01 0.00 9.00 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 8.99 0.00 L 11.44 0.00 C 23.93 8.97 36.11 18.37 48.40 27.61 C 51.73 30.09 56.16 28.65 60.00 29.00 L 60.00 31.00 C 56.17 31.35 51.73 29.91 48.41 32.39 C 36.13 41.65 23.95 51.03 11.46 60.00 L 8.99 60.00 C 9.01 57.00 8.99 54.00 9.00 51.00 C 6.00 51.01 3.00 50.99 0.00 51.00 L 0.00 49.00 C 3.00 49.01 6.00 48.98 9.00 49.00 C 9.00 36.33 9.00 23.67 9.00 11.00 C 6.00 11.01 3.00 10.99 0.00 11.00 L 0.00 9.00 C 3.00 9.01 6.00 8.98 9.00 9.00 C 8.99 6.00 9.01 3.00 8.99 0.00 Z" fill="#000000"/>
+<path d=" M 11.44 0.00 L 60.00 0.00 L 60.00 29.00 C 56.16 28.65 51.73 30.09 48.40 27.61 C 36.11 18.37 23.93 8.97 11.44 0.00 Z" fill="#ffffff"/>
+<path d=" M 11.00 1.72 C 23.24 11.47 35.93 20.69 48.51 30.00 C 35.93 39.31 23.24 48.53 11.00 58.28 C 11.00 39.43 11.00 20.57 11.00 1.72 Z" fill="#ffffff"/>
+<path d=" M 0.00 11.00 C 3.00 10.99 6.00 11.01 9.00 11.00 C 9.00 23.67 9.00 36.33 9.00 49.00 C 6.00 48.98 3.00 49.01 0.00 49.00 L 0.00 11.00 Z" fill="#ffffff"/>
+<path d=" M 15.40 16.95 C 17.84 16.26 19.97 15.01 21.00 12.58 C 21.00 13.40 20.98 15.03 20.98 15.85 C 21.88 15.95 23.69 16.15 24.60 16.26 C 23.48 16.70 22.32 17.01 21.13 17.21 C 21.03 18.05 20.82 19.73 20.72 20.57 C 20.25 19.43 19.94 18.26 19.78 17.03 C 18.32 17.04 16.86 17.01 15.40 16.95 Z" fill="#000000"/>
+<path d=" M 48.41 32.39 C 51.73 29.91 56.17 31.35 60.00 31.00 L 60.00 60.00 L 11.46 60.00 C 23.95 51.03 36.13 41.65 48.41 32.39 Z" fill="#ffffff"/>
+<path d=" M 15.09 47.30 C 16.71 46.88 19.99 46.22 20.90 47.70 C 19.29 48.12 16.01 48.78 15.09 47.30 Z" fill="#000000"/>
+<path d=" M 0.00 51.00 C 3.00 50.99 6.00 51.01 9.00 51.00 C 8.99 54.00 9.01 57.00 8.99 60.00 L 0.00 60.00 L 0.00 51.00 Z" fill="#ffffff"/>
+</g><text x="90" y="130" font-size="12" fill="black" stroke-width="0px" id="value-r1-66ad8fa27be07e"><tspan dx="-14" dy="15">10k</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,90,130)">
+<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>10k</wtx:value>
+ <wtx:label>value-r1-66ad8fa27be07e</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="140" y="190" font-size="12" fill="black" stroke-width="0px" id="value-r2-7d31a345e48296"><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,170,180)">
+<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-7d31a345e48296</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="220" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r3-f290a411c49f02"><tspan dx="-14" dy="15">100k</tspan><tspan dx="0" dy="0">r3</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,220,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>r3</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>100k</wtx:value>
+ <wtx:label>value-r3-f290a411c49f02</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="360" y="150" font-size="12" fill="black" stroke-width="0px" id="value-r4-bcdc1d0004fcf4"><tspan dx="-14" dy="15">1k</tspan><tspan dx="0" dy="0">r4</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,360,150)">
+<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>1k</wtx:value>
+ <wtx:label>value-r4-bcdc1d0004fcf4</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="220" y="60" font-size="12" fill="black" stroke-width="0px" id="value-c1-0a6d7df6b00dff"><tspan dx="-15" dy="15">100n</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,220,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>100n</wtx:value>
+ <wtx:label>value-c1-0a6d7df6b00dff</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="10" y="149.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-eb74a0e6bf2a79"><tspan dx="0" dy="0">v1</tspan></text><g class="pwl" id="Pwl" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,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:pwlval1>0m</wtx:pwlval1>
+ <wtx:pwlval2>0</wtx:pwlval2>
+ <wtx:pwlval3>0.5m</wtx:pwlval3>
+ <wtx:pwlval4>5</wtx:pwlval4>
+ <wtx:pwlval5>25m</wtx:pwlval5>
+ <wtx:pwlval6>5</wtx:pwlval6>
+ <wtx:pwlval7>25.5m</wtx:pwlval7>
+
+ <wtx:pwlval8>0</wtx:pwlval8>
+
+
+ <wtx:label>value-v1-eb74a0e6bf2a79</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="30" y="229.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-10b2bb49c4437f"><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,30,230)">
+<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-10b2bb49c4437f</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="150" y="239.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-186ed3440e2d6e"><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,150,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-186ed3440e2d6e</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="420" y="169.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-a5a3fce73ca1ba"><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,420,170)">
+<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-a5a3fce73ca1ba</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="146" cy="140" r="3" stroke="black" fill="black"/><circle cx="291" cy="160" r="3" stroke="black" fill="black"/><circle cx="291" cy="70" r="3" stroke="black" fill="black"/><circle cx="146" cy="70" r="3" stroke="black" fill="black"/><line x1="40" y1="200" x2="40" y2="230" stroke="black" stroke-width="2"/><line x1="40" y1="140" x2="90" y2="140" stroke="black" stroke-width="2"/><line x1="130" y1="140" x2="210" y2="140" stroke="black" stroke-width="2"/><line x1="160" y1="180" x2="210" y2="180" stroke="black" stroke-width="2"/><line x1="160" y1="220" x2="160" y2="240" stroke="black" stroke-width="2"/><line x1="270" y1="160" x2="360" y2="160" stroke="black" stroke-width="2"/><line x1="400" y1="160" x2="430" y2="160" stroke="black" stroke-width="2"/><line x1="430" y1="160" x2="430" y2="170" stroke="black" stroke-width="2"/><line x1="220" y1="20" x2="146" y2="20" stroke="black" stroke-width="2"/><line x1="130" y1="140" x2="146" y2="140" stroke="black" stroke-width="2"/><line x1="146" y1="140" x2="210" y2="140" stroke="black" stroke-width="2"/><line x1="146" y1="20" x2="146" y2="140" stroke="black" stroke-width="2"/><line x1="260" y1="20" x2="291" y2="20" stroke="black" stroke-width="2"/><line x1="270" y1="160" x2="291" y2="160" stroke="black" stroke-width="2"/><line x1="291" y1="160" x2="360" y2="160" stroke="black" stroke-width="2"/><line x1="291" y1="20" x2="291" y2="160" stroke="black" stroke-width="2"/><line x1="291" y1="20" x2="291" y2="70" stroke="black" stroke-width="2"/><line x1="291" y1="70" x2="291" y2="160" stroke="black" stroke-width="2"/><line x1="250" y1="70" x2="291" y2="70" stroke="black" stroke-width="2"/><line x1="146" y1="20" x2="146" y2="70" stroke="black" stroke-width="2"/><line x1="146" y1="70" x2="146" y2="140" stroke="black" stroke-width="2"/><line x1="220" y1="70" x2="146" y2="70" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/InvertingAmplifier.svg b/Examples/InvertingAmplifier.svg
new file mode 100644
index 0000000..1f22bc3
--- /dev/null
+++ b/Examples/InvertingAmplifier.svg
@@ -0,0 +1,234 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="434px" height="160px"><rect x="0" y="0" fill="white" width="434px" height="160px"/><text x="240" y="10" font-size="12" fill="black" stroke-width="0px" id="value-x1-986029f85baa02"><tspan dx="-15" dy="15">ua741</tspan><tspan dx="0" dy="0">x1</tspan></text><g class="op-amp" id="x" transform="matrix(1,-4.898586880945079e-16,4.898586880945079e-16,1,240,10)">
+<metadata class="part">
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+<!--
+all opamp models must be in this order
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OPEN COLLECTOR OUTPUT
+* | | | | |
+.SUBCKT LM339 1 2 3 4 5
+-->
+ <wtx:node y="10" x="0" index="1"/>
+ <wtx:node y="50" x="0" index="2"/>
+
+ <wtx:node y="30" x="60" index="3"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>x1</wtx:id>
+ <wtx:type>x</wtx:type>
+ <wtx:name>op-amp</wtx:name>
+ <wtx:category>subcircuits</wtx:category>
+ <wtx:value>ua741</wtx:value>
+ <wtx:spice/>
+ <wtx:label>value-x1-986029f85baa02</wtx:label>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model>ua741.sub</wtx:model>
+</wtx:part>
+</metadata>
+
+
+
+<path d=" M 0.00 0.00 L 8.99 0.00 C 9.01 3.00 8.99 6.00 9.00 9.00 C 6.00 8.98 3.00 9.01 0.00 9.00 L 0.00 0.00 Z" fill="#ffffff"/>
+<path d=" M 8.99 0.00 L 11.44 0.00 C 23.93 8.97 36.11 18.37 48.40 27.61 C 51.73 30.09 56.16 28.65 60.00 29.00 L 60.00 31.00 C 56.17 31.35 51.73 29.91 48.41 32.39 C 36.13 41.65 23.95 51.03 11.46 60.00 L 8.99 60.00 C 9.01 57.00 8.99 54.00 9.00 51.00 C 6.00 51.01 3.00 50.99 0.00 51.00 L 0.00 49.00 C 3.00 49.01 6.00 48.98 9.00 49.00 C 9.00 36.33 9.00 23.67 9.00 11.00 C 6.00 11.01 3.00 10.99 0.00 11.00 L 0.00 9.00 C 3.00 9.01 6.00 8.98 9.00 9.00 C 8.99 6.00 9.01 3.00 8.99 0.00 Z" fill="#000000"/>
+<path d=" M 11.44 0.00 L 60.00 0.00 L 60.00 29.00 C 56.16 28.65 51.73 30.09 48.40 27.61 C 36.11 18.37 23.93 8.97 11.44 0.00 Z" fill="#ffffff"/>
+<path d=" M 11.00 1.72 C 23.24 11.47 35.93 20.69 48.51 30.00 C 35.93 39.31 23.24 48.53 11.00 58.28 C 11.00 39.43 11.00 20.57 11.00 1.72 Z" fill="#ffffff"/>
+<path d=" M 0.00 11.00 C 3.00 10.99 6.00 11.01 9.00 11.00 C 9.00 23.67 9.00 36.33 9.00 49.00 C 6.00 48.98 3.00 49.01 0.00 49.00 L 0.00 11.00 Z" fill="#ffffff"/>
+<path d=" M 15.40 16.95 C 17.84 16.26 19.97 15.01 21.00 12.58 C 21.00 13.40 20.98 15.03 20.98 15.85 C 21.88 15.95 23.69 16.15 24.60 16.26 C 23.48 16.70 22.32 17.01 21.13 17.21 C 21.03 18.05 20.82 19.73 20.72 20.57 C 20.25 19.43 19.94 18.26 19.78 17.03 C 18.32 17.04 16.86 17.01 15.40 16.95 Z" fill="#000000"/>
+<path d=" M 48.41 32.39 C 51.73 29.91 56.17 31.35 60.00 31.00 L 60.00 60.00 L 11.46 60.00 C 23.95 51.03 36.13 41.65 48.41 32.39 Z" fill="#ffffff"/>
+<path d=" M 15.09 47.30 C 16.71 46.88 19.99 46.22 20.90 47.70 C 19.29 48.12 16.01 48.78 15.09 47.30 Z" fill="#000000"/>
+<path d=" M 0.00 51.00 C 3.00 50.99 6.00 51.01 9.00 51.00 C 8.99 54.00 9.01 57.00 8.99 60.00 L 0.00 60.00 L 0.00 51.00 Z" fill="#ffffff"/>
+</g><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,240,130)">
+<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>5k</wtx:value>
+ <wtx:label>value-r1-3f1cc06fb3fec8</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="30" font-size="12" fill="black" stroke-width="0px" id="value-r3-15189ea00e2afa"><tspan dx="-14" dy="15">1K</tspan><tspan dx="0" dy="0">r3</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,350,30)">
+<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>1K</wtx:value>
+ <wtx:label>value-r3-15189ea00e2afa</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="70" y="39.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-c1c34ba6c38fba"><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(-1,1.2246468525851679e-16,-1.2246468525851679e-16,-1,130,80)">
+<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>2</wtx:voltageamplitude>
+ <wtx:frequency>50</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-c1c34ba6c38fba</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><text x="150" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r2-d00b9e00ae98b1"><tspan dx="-14" dy="15">1K</tspan><tspan dx="0" dy="0">r2</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,150,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>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-d00b9e00ae98b1</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><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,10,90)">
+<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-7d7d75affc2417</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="400" y="80" font-size="12" fill="black" stroke-width="0px" id="value-gnd-7d7d75affc2417"><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,400,80)">
+<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-7d7d75affc2417</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="160" y="50" font-size="12" fill="black" stroke-width="0px" id="value-r4-d3ba135be30f06"><tspan dx="-14" dy="15">1K</tspan><tspan dx="0" dy="0">r4</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,160,50)">
+<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>1K</wtx:value>
+ <wtx:label>value-r4-d3ba135be30f06</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><circle cx="20" cy="60" r="3" stroke="black" fill="black"/><text x="240" y="130" font-size="12" fill="black" stroke-width="0px" id="value-r1-3f1cc06fb3fec8"><tspan dx="-14" dy="15">5k</tspan><tspan dx="0" dy="0">r1</tspan></text><circle cx="224" cy="60" r="3" stroke="black" fill="black"/><circle cx="343" cy="40" r="3" stroke="black" fill="black"/><line x1="190" y1="20" x2="240" y2="20" stroke="black" stroke-width="2"/><line x1="200" y1="60" x2="240" y2="60" stroke="black" stroke-width="2"/><line x1="130" y1="60" x2="160" y2="60" stroke="black" stroke-width="2"/><line x1="150" y1="20" x2="20" y2="20" stroke="black" stroke-width="2"/><line x1="20" y1="20" x2="20" y2="90" stroke="black" stroke-width="2"/><line x1="20" y1="20" x2="20" y2="60" stroke="black" stroke-width="2"/><line x1="20" y1="60" x2="20" y2="90" stroke="black" stroke-width="2"/><line x1="70" y1="60" x2="20" y2="60" stroke="black" stroke-width="2"/><line x1="240" y1="140" x2="224" y2="140" stroke="black" stroke-width="2"/><line x1="200" y1="60" x2="224" y2="60" stroke="black" stroke-width="2"/><line x1="224" y1="60" x2="240" y2="60" stroke="black" stroke-width="2"/><line x1="224" y1="140" x2="224" y2="60" stroke="black" stroke-width="2"/><line x1="300" y1="40" x2="350" y2="40" stroke="black" stroke-width="2"/><line x1="390" y1="40" x2="408" y2="40" stroke="black" stroke-width="2"/><line x1="408" y1="40" x2="408" y2="80" stroke="black" stroke-width="2"/><line x1="408" y1="80" x2="410" y2="80" stroke="black" stroke-width="2"/><line x1="280" y1="140" x2="343" y2="140" stroke="black" stroke-width="2"/><line x1="300" y1="40" x2="343" y2="40" stroke="black" stroke-width="2"/><line x1="343" y1="40" x2="350" y2="40" stroke="black" stroke-width="2"/><line x1="343" y1="140" x2="343" y2="40" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/Oscillator.svg b/Examples/Oscillator.svg
new file mode 100644
index 0000000..0292a65
--- /dev/null
+++ b/Examples/Oscillator.svg
@@ -0,0 +1,409 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="445px" height="478.9765625px"><rect x="0" y="0" fill="white" width="445px" height="478.9765625px"/><text x="224" y="151.4765625" font-size="12" fill="black" stroke-width="0px" id="value-q1-0795df96dc478f"><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,224,151.4765625)">
+<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-0795df96dc478f</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="234" y="91.4765625" font-size="12" fill="black" stroke-width="0px" id="value-r1-5264d2c7bdbb59"><tspan dx="-14" dy="15">8.6k</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,264,81.4765625)">
+<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>8.6k</wtx:value>
+ <wtx:label>value-r1-5264d2c7bdbb59</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="124" y="91.4765625" font-size="12" fill="black" stroke-width="0px" id="value-r2-4bb760a273c32d"><tspan dx="-14" dy="15">56k</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,154,81.4765625)">
+<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>56k</wtx:value>
+ <wtx:label>value-r2-4bb760a273c32d</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="124" y="231.4765625" font-size="12" fill="black" stroke-width="0px" id="value-r3-3dfc18ca4e603e"><tspan dx="-14" dy="15">8.2k</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,154,221.4765625)">
+<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>8.2k</wtx:value>
+ <wtx:label>value-r3-3dfc18ca4e603e</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="234" y="231.4765625" font-size="12" fill="black" stroke-width="0px" id="value-r4-eb528862859175"><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,264,221.4765625)">
+<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-eb528862859175</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="314" y="231.4765625" font-size="12" fill="black" stroke-width="0px" id="value-c1-66207ab8444401"><tspan dx="-15" dy="15">20u</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,344,231.4765625)">
+<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>20u</wtx:value>
+ <wtx:label>value-c1-66207ab8444401</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="214" y="21.4764404296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-79ad164a1e1223"><tspan dx="-15" dy="15">22</tspan><tspan dx="0" dy="0">v1</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,214,21.4765625)">
+<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>22</wtx:value>
+ <wtx:label>value-v1-79ad164a1e1223</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="364" y="331.4765625" font-size="12" fill="black" stroke-width="0px" id="value-c2-47941676b1ab43"><tspan dx="-15" dy="15">1500p</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(1,0,0,1,364,331.4765625)">
+<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>1500p</wtx:value>
+ <wtx:label>value-c2-47941676b1ab43</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="234" y="331.4765625" font-size="12" fill="black" stroke-width="0px" id="value-c3-16aad92f36c54e"><tspan dx="-15" dy="15">1500p</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,234,331.4765625)">
+<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>1500p</wtx:value>
+ <wtx:label>value-c3-16aad92f36c54e</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="114" y="331.4765625" font-size="12" fill="black" stroke-width="0px" id="value-c4-bb738143f4a65c"><tspan dx="-15" dy="15">1500p</tspan><tspan dx="0" dy="0">c4</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(1,0,0,1,114,331.4765625)">
+<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>c4</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value>1500p</wtx:value>
+ <wtx:label>value-c4-bb738143f4a65c</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="164" y="371.4765625" font-size="12" fill="black" stroke-width="0px" id="value-r5-ea221e7e9e0a22"><tspan dx="-14" dy="15">3k</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,194,361.4765625)">
+<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>3k</wtx:value>
+ <wtx:label>value-r5-ea221e7e9e0a22</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="294" y="371.4765625" font-size="12" fill="black" stroke-width="0px" id="value-r6-9568f30b023913"><tspan dx="-14" dy="15">3k</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,324,361.4765625)">
+<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>3k</wtx:value>
+ <wtx:label>value-r6-9568f30b023913</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="24" y="331.4765625" font-size="12" fill="black" stroke-width="0px" id="value-r7-6888d0121fd277"><tspan dx="-14" dy="15">3k</tspan><tspan dx="0" dy="0">r7</tspan></text><g stroke-width="2px" stroke="black" transform="matrix(1,0,0,1,24,331.4765625)">
+<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>r7</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value>3k</wtx:value>
+ <wtx:label>value-r7-6888d0121fd277</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="184" y="291.4764404296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-0f9ab49f0bb6e5"><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,184,291.4765625)">
+<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-0f9ab49f0bb6e5</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="294" y="31.4764404296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-7d0a5be3bd403d"><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,294,31.4765625)">
+<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-7d0a5be3bd403d</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="234" y="451.4764404296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-2ea37da5a1d6bf"><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,234,451.4765625)">
+<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-2ea37da5a1d6bf</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="194" cy="261.4765625" r="3" stroke="black" fill="black"/><circle cx="254" cy="210.4765625" r="3" stroke="black" fill="black"/><circle cx="245" cy="261.4765625" r="3" stroke="black" fill="black"/><circle cx="254" cy="137.4765625" r="3" stroke="black" fill="black"/><circle cx="184" cy="341.4765625" r="3" stroke="black" fill="black"/><circle cx="314" cy="341.4765625" r="3" stroke="black" fill="black"/><circle cx="244" cy="431.4765625" r="3" stroke="black" fill="black"/><circle cx="144" cy="191.4765625" r="3" stroke="black" fill="black"/><circle cx="144" cy="171.4765625" r="3" stroke="black" fill="black"/><circle cx="181" cy="81.4765625" r="3" stroke="black" fill="black"/><line x1="144" y1="81.4765625" x2="254" y2="81.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="261.4765625" x2="254" y2="261.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="261.4765625" x2="194" y2="261.4765625" stroke="black" stroke-width="2"/><line x1="194" y1="261.4765625" x2="254" y2="261.4765625" stroke="black" stroke-width="2"/><line x1="194" y1="291.4765625" x2="194" y2="261.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="221.4765625" x2="144" y2="121.4765625" stroke="black" stroke-width="2"/><line x1="254" y1="151.4765625" x2="254" y2="121.4765625" stroke="black" stroke-width="2"/><line x1="254" y1="191.4765625" x2="254" y2="221.4765625" stroke="black" stroke-width="2"/><line x1="334" y1="231.4765625" x2="334" y2="210.4765625" stroke="black" stroke-width="2"/><line x1="254" y1="191.4765625" x2="254" y2="210.4765625" stroke="black" stroke-width="2"/><line x1="254" y1="210.4765625" x2="254" y2="221.4765625" stroke="black" stroke-width="2"/><line x1="334" y1="210.4765625" x2="254" y2="210.4765625" stroke="black" stroke-width="2"/><line x1="334" y1="261.4765625" x2="334" y2="281.4765625" stroke="black" stroke-width="2"/><line x1="334" y1="281.4765625" x2="245" y2="281.4765625" stroke="black" stroke-width="2"/><line x1="194" y1="261.4765625" x2="245" y2="261.4765625" stroke="black" stroke-width="2"/><line x1="245" y1="261.4765625" x2="254" y2="261.4765625" stroke="black" stroke-width="2"/><line x1="245" y1="281.4765625" x2="245" y2="261.4765625" stroke="black" stroke-width="2"/><line x1="394" y1="341.4765625" x2="434" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="254" y1="151.4765625" x2="254" y2="137.4765625" stroke="black" stroke-width="2"/><line x1="254" y1="137.4765625" x2="254" y2="121.4765625" stroke="black" stroke-width="2"/><line x1="434" y1="341.4765625" x2="434" y2="137.4765625" stroke="black" stroke-width="2"/><line x1="434" y1="137.4765625" x2="254" y2="137.4765625" stroke="black" stroke-width="2"/><line x1="364" y1="341.4765625" x2="264" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="234" y1="341.4765625" x2="144" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="234" y1="341.4765625" x2="184" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="184" y1="341.4765625" x2="144" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="184" y1="361.4765625" x2="184" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="364" y1="341.4765625" x2="314" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="314" y1="341.4765625" x2="264" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="314" y1="361.4765625" x2="314" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="184" y1="401.4765625" x2="184" y2="431.4765625" stroke="black" stroke-width="2"/><line x1="184" y1="431.4765625" x2="314" y2="431.4765625" stroke="black" stroke-width="2"/><line x1="314" y1="431.4765625" x2="314" y2="401.4765625" stroke="black" stroke-width="2"/><line x1="184" y1="431.4765625" x2="244" y2="431.4765625" stroke="black" stroke-width="2"/><line x1="244" y1="431.4765625" x2="314" y2="431.4765625" stroke="black" stroke-width="2"/><line x1="244" y1="451.4765625" x2="244" y2="431.4765625" stroke="black" stroke-width="2"/><line x1="114" y1="341.4765625" x2="64" y2="341.4765625" stroke="black" stroke-width="2"/><line x1="24" y1="341.4765625" x2="24" y2="191.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="221.4765625" x2="144" y2="191.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="191.4765625" x2="144" y2="121.4765625" stroke="black" stroke-width="2"/><line x1="24" y1="191.4765625" x2="144" y2="191.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="191.4765625" x2="144" y2="171.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="171.4765625" x2="144" y2="121.4765625" stroke="black" stroke-width="2"/><line x1="224" y1="171.4765625" x2="144" y2="171.4765625" stroke="black" stroke-width="2"/><line x1="214" y1="31.4765625" x2="181" y2="31.4765625" stroke="black" stroke-width="2"/><line x1="144" y1="81.4765625" x2="181" y2="81.4765625" stroke="black" stroke-width="2"/><line x1="181" y1="81.4765625" x2="254" y2="81.4765625" stroke="black" stroke-width="2"/><line x1="181" y1="31.4765625" x2="181" y2="81.4765625" stroke="black" stroke-width="2"/><line x1="264" y1="31.4765625" x2="304" y2="31.4765625" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/ParallelResonance.svg b/Examples/ParallelResonance.svg
new file mode 100644
index 0000000..02796de
--- /dev/null
+++ b/Examples/ParallelResonance.svg
@@ -0,0 +1,159 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="360.01953125px" height="227.5px"><rect x="0" y="0" fill="white" width="360.01953125px" height="227.5px"/><g class="ac" id="v" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,10,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>1</wtx:amplitude>
+ <wtx:phase>0</wtx:phase>
+ <wtx:label>value-v1-63432e3d5c0e3a</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="10" font-size="12" fill="black" stroke-width="0px" id="value-r1-97838fd94d9273"><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,70,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-97838fd94d9273</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="140" y="70" font-size="12" fill="black" stroke-width="0px" id="value-r2-c762fa575ac136"><tspan dx="-14" dy="15">100</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,170,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="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>100</wtx:value>
+ <wtx:label>value-r2-c762fa575ac136</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="230" y="70" font-size="12" fill="black" stroke-width="0px" id="value-c1-6633db2f3e8d91"><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,260,70)">
+<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-6633db2f3e8d91</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="310" y="70" font-size="12" fill="black" stroke-width="0px" id="value-l1-691991334dcf72"><tspan dx="-12" dy="15">100m</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(6.123234262925839e-17,1,-1,6.123234262925839e-17,350,50)">
+<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>100m</wtx:value>
+ <wtx:label>value-l1-691991334dcf72</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="10" y="110" font-size="12" fill="black" stroke-width="0px" id="value-v1-63432e3d5c0e3a"><tspan dx="0" dy="0">v1</tspan></text><circle cx="160" cy="20" r="3" stroke="black" fill="black"/><circle cx="250" cy="20" r="3" stroke="black" fill="black"/><circle cx="160" cy="169" r="3" stroke="black" fill="black"/><circle cx="250" cy="169" r="3" stroke="black" fill="black"/><text x="190" y="199.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-3399169450f302"><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,190,200)">
+<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-3399169450f302</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="200" cy="169" r="3" stroke="black" fill="black"/><line x1="70" y1="20" x2="30" y2="20" stroke="black" stroke-width="2"/><line x1="30" y1="20" x2="30" y2="50" stroke="black" stroke-width="2"/><line x1="110" y1="20" x2="340" y2="20" stroke="black" stroke-width="2"/><line x1="340" y1="20" x2="340" y2="50" stroke="black" stroke-width="2"/><line x1="30" y1="110" x2="30" y2="169" stroke="black" stroke-width="2"/><line x1="30" y1="169" x2="340" y2="169" stroke="black" stroke-width="2"/><line x1="340" y1="169" x2="340" y2="110" stroke="black" stroke-width="2"/><line x1="110" y1="20" x2="160" y2="20" stroke="black" stroke-width="2"/><line x1="160" y1="20" x2="340" y2="20" stroke="black" stroke-width="2"/><line x1="160" y1="60" x2="160" y2="20" stroke="black" stroke-width="2"/><line x1="160" y1="20" x2="250" y2="20" stroke="black" stroke-width="2"/><line x1="250" y1="20" x2="340" y2="20" stroke="black" stroke-width="2"/><line x1="250" y1="70" x2="250" y2="20" stroke="black" stroke-width="2"/><line x1="30" y1="169" x2="160" y2="169" stroke="black" stroke-width="2"/><line x1="160" y1="169" x2="340" y2="169" stroke="black" stroke-width="2"/><line x1="160" y1="100" x2="160" y2="169" stroke="black" stroke-width="2"/><line x1="160" y1="169" x2="250" y2="169" stroke="black" stroke-width="2"/><line x1="250" y1="169" x2="340" y2="169" stroke="black" stroke-width="2"/><line x1="250" y1="100" x2="250" y2="169" stroke="black" stroke-width="2"/><line x1="160" y1="169" x2="200" y2="169" stroke="black" stroke-width="2"/><line x1="200" y1="169" x2="250" y2="169" stroke="black" stroke-width="2"/><line x1="200" y1="200" x2="200" y2="169" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/RL.svg b/Examples/RL.svg
new file mode 100644
index 0000000..4370890
--- /dev/null
+++ b/Examples/RL.svg
@@ -0,0 +1,137 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="220.01953125px" height="157.5px"><rect x="0" y="0" fill="white" width="220.01953125px" height="157.5px"/><text x="10" y="59.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-d868ba52a50cce"><tspan dx="0" dy="0">v1</tspan></text><g class="pwl" id="Pwl" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,20,110)">
+
+
+<!--
+ 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>50m</wtx:pwlval5>
+ <wtx:pwlval6>5</wtx:pwlval6>
+ <wtx:pwlval7>50.5m</wtx:pwlval7>
+
+ <wtx:pwlval8>0</wtx:pwlval8>
+
+
+ <wtx:label>value-v1-d868ba52a50cce</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="90" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r1-19a57311a8598a"><tspan dx="-14" dy="15">10</tspan><tspan dx="0" dy="0">r1</tspan></text><g stroke-width="2px" stroke="black" 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="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>10</wtx:value>
+ <wtx:label>value-r1-19a57311a8598a</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-l1-dbeeab34e49971"><tspan dx="-12" dy="15">100m</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(6.123234262925839e-17,1,-1,6.123234262925839e-17,210,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="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>100m</wtx:value>
+ <wtx:label>value-l1-dbeeab34e49971</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="110" y="129.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-5542b88262eb11"><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-5542b88262eb11</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="113" r="3" stroke="black" fill="black"/><line x1="40" y1="50" x2="40" y2="20" stroke="black" stroke-width="2"/><line x1="40" y1="20" x2="90" y2="20" stroke="black" stroke-width="2"/><line x1="130" y1="20" x2="200" y2="20" stroke="black" stroke-width="2"/><line x1="200" y1="20" x2="200" y2="40" stroke="black" stroke-width="2"/><line x1="200" y1="100" x2="200" y2="113" stroke="black" stroke-width="2"/><line x1="200" y1="113" x2="40" y2="113" stroke="black" stroke-width="2"/><line x1="40" y1="113" x2="40" y2="110" stroke="black" stroke-width="2"/><line x1="200" y1="113" x2="120" y2="113" stroke="black" stroke-width="2"/><line x1="120" y1="113" x2="40" y2="113" stroke="black" stroke-width="2"/><line x1="120" y1="130" x2="120" y2="113" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/SeriesResonance.svg b/Examples/SeriesResonance.svg
new file mode 100644
index 0000000..7d7682f
--- /dev/null
+++ b/Examples/SeriesResonance.svg
@@ -0,0 +1,133 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="320.01953125px" height="177.5px"><rect x="0" y="0" fill="white" width="320.01953125px" height="177.5px"/><text x="10" y="60" font-size="12" fill="black" stroke-width="0px" id="value-v1-9c775e26b404a2"><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>1</wtx:amplitude>
+ <wtx:phase>0</wtx:phase>
+ <wtx:label>value-v1-9c775e26b404a2</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-cad7396850ffb5"><tspan dx="-14" dy="15">1</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>1</wtx:value>
+ <wtx:label>value-r1-cad7396850ffb5</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="190" y="10" font-size="12" fill="black" stroke-width="0px" id="value-c1-2b2d8063955eb8"><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,190,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-2b2d8063955eb8</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="270" y="70" font-size="12" fill="black" stroke-width="0px" id="value-l1-dccbd1097eb1d1"><tspan dx="-12" dy="15">100m</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(6.123234262925839e-17,1,-1,6.123234262925839e-17,310,50)">
+<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>100m</wtx:value>
+ <wtx:label>value-l1-dccbd1097eb1d1</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="170" y="149.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-afe691c5a4d713"><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,170,150)">
+<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-afe691c5a4d713</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="180" cy="134" r="3" stroke="black" fill="black"/><line x1="40" y1="50" x2="40" y2="20" stroke="black" stroke-width="2"/><line x1="40" y1="20" 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="220" y1="20" x2="300" y2="20" stroke="black" stroke-width="2"/><line x1="300" y1="20" x2="300" y2="50" stroke="black" stroke-width="2"/><line x1="300" y1="110" x2="300" y2="134" stroke="black" stroke-width="2"/><line x1="300" y1="134" x2="40" y2="134" stroke="black" stroke-width="2"/><line x1="40" y1="134" x2="40" y2="110" stroke="black" stroke-width="2"/><line x1="300" y1="134" x2="180" y2="134" stroke="black" stroke-width="2"/><line x1="180" y1="134" x2="40" y2="134" stroke="black" stroke-width="2"/><line x1="180" y1="150" x2="180" y2="134" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/ZenerChar.svg b/Examples/ZenerChar.svg
new file mode 100644
index 0000000..81adf18
--- /dev/null
+++ b/Examples/ZenerChar.svg
@@ -0,0 +1,116 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="235px" height="157.5px"><rect x="0" y="0" fill="white" width="235px" height="157.5px"/><text x="25" y="59.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-e45c87d9d95f30"><tspan dx="-15" dy="15">10</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,65,50)">
+<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>10</wtx:value>
+ <wtx:label>value-v1-e45c87d9d95f30</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="105" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r1-31cbd398db36da"><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,105,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-31cbd398db36da</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="195" y="70" font-size="12" fill="black" stroke-width="0px" id="value-a1-63402cde52bd09"><tspan dx="0" dy="0">a1</tspan></text><g class="zener" id="g2232" stroke-width="2px" stroke="black" connects="0,10;40,10" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,225,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="40" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>a1</wtx:id>
+
+ <wtx:type>a</wtx:type>
+ <wtx:name>zener</wtx:name>
+ <wtx:category>analogmodels</wtx:category>
+
+ <wtx:vbreak>1.0</wtx:vbreak>
+ <wtx:ibreak>2.0e-2</wtx:ibreak>
+ <wtx:rbreak>1.0</wtx:rbreak>
+ <wtx:isat>1.0e-12</wtx:isat>
+ <wtx:limitswitch>FALSE</wtx:limitswitch>
+ <wtx:nfor>1.0</wtx:nfor>
+ <wtx:irev>1.0e-6</wtx:irev>
+
+
+ <wtx:flip/>
+ <wtx:value/>
+ <wtx:label>value-a1-63402cde52bd09</wtx:label>
+ <wtx:spice/>
+ <wtx:model/>
+ </wtx:part>
+</metadata>
+
+ <path fill="none" id="path2210" d="M 14.639172,0.38974096 L 10.056699,0.45435962 L 10.056699,19.706003 L 5,19.660362"/>
+ <path id="path3202" d="M 0,10 L 40,10"/>
+ <path fill="black" id="path2220" d="M 11.056699,9.3421656 L 30.030771,0.61472262 L 30.030771,19.706003 L 11.056699,9.3421656 z"/>
+ </g><text x="125" y="129.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-6060f87c3e7545"><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,125,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-6060f87c3e7545</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="135" cy="117" r="3" stroke="black" fill="black"/><line x1="55" y1="50" x2="55" y2="20" stroke="black" stroke-width="2"/><line x1="55" y1="20" x2="105" y2="20" stroke="black" stroke-width="2"/><line x1="145" y1="20" x2="215" y2="20" stroke="black" stroke-width="2"/><line x1="215" y1="20" x2="215" y2="60" stroke="black" stroke-width="2"/><line x1="215" y1="100" x2="215" y2="117" stroke="black" stroke-width="2"/><line x1="215" y1="117" x2="55" y2="117" stroke="black" stroke-width="2"/><line x1="55" y1="117" x2="55" y2="100" stroke="black" stroke-width="2"/><line x1="215" y1="117" x2="135" y2="117" stroke="black" stroke-width="2"/><line x1="135" y1="117" x2="55" y2="117" stroke="black" stroke-width="2"/><line x1="135" y1="130" x2="135" y2="117" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/bridgerectifier.svg b/Examples/bridgerectifier.svg
new file mode 100644
index 0000000..94c5b16
--- /dev/null
+++ b/Examples/bridgerectifier.svg
@@ -0,0 +1,184 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="350px" height="294.5px"><rect x="0" y="0" fill="white" width="350px" height="294.5px"/><text x="10" y="117" font-size="12" fill="black" stroke-width="0px" id="value-v1-620fd87f036489"><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,107)">
+<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>2</wtx:voltageamplitude>
+ <wtx:frequency>50</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-620fd87f036489</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><text x="130" y="47" font-size="12" fill="black" stroke-width="0px" id="value-d1-7460b6487c355b"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d1</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,160,37)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d1</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d1-7460b6487c355b</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="210" y="47" font-size="12" fill="black" stroke-width="0px" id="value-d2-9e95a1b8bdd297"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d2</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,240,37)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d2</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d2-9e95a1b8bdd297</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="130" y="207" font-size="12" fill="black" stroke-width="0px" id="value-d3-f0b8095f7a07d6"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d3</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,160,197)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d3</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d3-f0b8095f7a07d6</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="210" y="207" font-size="12" fill="black" stroke-width="0px" id="value-d4-edbc133d061316"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d4</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,240,197)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d4</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d4-edbc133d061316</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="310" y="117" font-size="12" fill="black" stroke-width="0px" id="value-r1-cb79c9d457f011"><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,340,107)">
+<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-cb79c9d457f011</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="266.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-034cbf90460449"><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,280,267)">
+<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-034cbf90460449</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="290" cy="255" r="3" stroke="black" fill="black"/><circle cx="230" cy="255" r="3" stroke="black" fill="black"/><circle cx="230" cy="13" r="3" stroke="black" fill="black"/><circle cx="150" cy="126" r="3" stroke="black" fill="black"/><circle cx="230" cy="167" r="3" stroke="black" fill="black"/><line x1="150" y1="37" x2="150" y2="13" stroke="black" stroke-width="2"/><line x1="150" y1="13" x2="330" y2="13" stroke="black" stroke-width="2"/><line x1="330" y1="13" x2="330" y2="107" stroke="black" stroke-width="2"/><line x1="150" y1="237" x2="150" y2="255" stroke="black" stroke-width="2"/><line x1="150" y1="255" x2="330" y2="255" stroke="black" stroke-width="2"/><line x1="330" y1="255" x2="330" y2="147" stroke="black" stroke-width="2"/><line x1="150" y1="255" x2="290" y2="255" stroke="black" stroke-width="2"/><line x1="290" y1="255" x2="330" y2="255" stroke="black" stroke-width="2"/><line x1="290" y1="267" x2="290" y2="255" stroke="black" stroke-width="2"/><line x1="150" y1="255" x2="230" y2="255" stroke="black" stroke-width="2"/><line x1="230" y1="255" x2="290" y2="255" stroke="black" stroke-width="2"/><line x1="230" y1="237" x2="230" y2="255" stroke="black" stroke-width="2"/><line x1="150" y1="13" x2="230" y2="13" stroke="black" stroke-width="2"/><line x1="230" y1="13" x2="330" y2="13" stroke="black" stroke-width="2"/><line x1="230" y1="37" x2="230" y2="13" stroke="black" stroke-width="2"/><line x1="150" y1="77" x2="150" y2="197" stroke="black" stroke-width="2"/><line x1="230" y1="77" x2="230" y2="197" stroke="black" stroke-width="2"/><line x1="40" y1="107" x2="40" y2="92" stroke="black" stroke-width="2"/><line x1="40" y1="92" x2="96" y2="92" stroke="black" stroke-width="2"/><line x1="96" y1="92" x2="96" y2="126" stroke="black" stroke-width="2"/><line x1="150" y1="77" x2="150" y2="126" stroke="black" stroke-width="2"/><line x1="150" y1="126" x2="150" y2="197" stroke="black" stroke-width="2"/><line x1="96" y1="126" x2="150" y2="126" stroke="black" stroke-width="2"/><line x1="230" y1="77" x2="230" y2="167" stroke="black" stroke-width="2"/><line x1="230" y1="167" x2="230" y2="197" stroke="black" stroke-width="2"/><line x1="40" y1="167" x2="230" y2="167" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/halfwaverectifier.svg b/Examples/halfwaverectifier.svg
new file mode 100644
index 0000000..8f5c511
--- /dev/null
+++ b/Examples/halfwaverectifier.svg
@@ -0,0 +1,112 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="260px" height="196.75px"><rect x="0" y="0" fill="white" width="260px" height="196.75px"/><text x="10" y="59.2498779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-1d6c0cf9c78a3e"><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,49.25)">
+<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>2</wtx:voltageamplitude>
+ <wtx:frequency>50</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-1d6c0cf9c78a3e</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><text x="110" y="9.25" font-size="12" fill="black" stroke-width="0px" id="value-d1-57727b69a8a37b"><tspan dx="-16" dy="15">1n4007</tspan><tspan dx="0" dy="0">d1</tspan></text><g stroke-width="2px" stroke="#000" class="diode" id="D" transform="matrix(-1,1.2246468525851679e-16,-1.2246468525851679e-16,-1,150,29.25)">
+<metadata class="part">
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics">
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node y="10" x="40" index="1"/>
+ <wtx:node y="10" x="0" index="2"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d1</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip/>
+ <wtx:value>1n4007</wtx:value>
+ <wtx:label>value-d1-57727b69a8a37b</wtx:label>
+ <wtx:spice/>
+ <wtx:model>1n4007.lib</wtx:model>
+ </wtx:part>
+</metadata>
+ <path d="m11.059,19.249,0-18.37" id="path2210"/>
+ <path d="M0,10h40" id="path3202"/>
+ <path d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z" fill="#000" id="path2220"/>
+ </g><text x="130" y="169.25" font-size="12" fill="black" stroke-width="0px" id="value-gnd-4143e46d03cd65"><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,169.25)">
+<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-4143e46d03cd65</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="220" y="69.25" font-size="12" fill="black" stroke-width="0px" id="value-r1-97af3abbff7d96"><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,250,59.25)">
+<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-97af3abbff7d96</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><circle cx="140" cy="144.25" r="3" stroke="black" fill="black"/><line x1="40" y1="49.25" x2="40" y2="21.25" stroke="black" stroke-width="2"/><line x1="40" y1="21.25" x2="110" y2="21.25" stroke="black" stroke-width="2"/><line x1="110" y1="21.25" x2="110" y2="19.25" stroke="black" stroke-width="2"/><line x1="150" y1="19.25" x2="240" y2="19.25" stroke="black" stroke-width="2"/><line x1="240" y1="19.25" x2="240" y2="59.25" stroke="black" stroke-width="2"/><line x1="240" y1="99.25" x2="240" y2="144.25" stroke="black" stroke-width="2"/><line x1="240" y1="144.25" x2="40" y2="144.25" stroke="black" stroke-width="2"/><line x1="40" y1="144.25" x2="40" y2="109.25" stroke="black" stroke-width="2"/><line x1="240" y1="144.25" x2="140" y2="144.25" stroke="black" stroke-width="2"/><line x1="140" y1="144.25" x2="40" y2="144.25" stroke="black" stroke-width="2"/><line x1="140" y1="169.25" x2="140" y2="144.25" stroke="black" stroke-width="2"/></svg> \ No newline at end of file
diff --git a/Examples/rc.svg b/Examples/rc.svg
new file mode 100644
index 0000000..0794b24
--- /dev/null
+++ b/Examples/rc.svg
@@ -0,0 +1,112 @@
+<?xml version='1.0' ?>
+<!--Created by webtronics 0.1-->
+<svg xmlns="http://www.w3.org/2000/svg" width="210px" height="167.5px"><rect x="0" y="0" fill="white" width="210px" height="167.5px"/><text x="10" y="60" font-size="12" fill="black" stroke-width="0px" id="value-v1-5a5ea1f31608b5"><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,50)">
+<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>2</wtx:voltageamplitude>
+ <wtx:frequency>50</wtx:frequency>
+ <wtx:delaytime>0</wtx:delaytime>
+ <wtx:dampingfactor>0</wtx:dampingfactor>
+
+ <wtx:label>value-v1-5a5ea1f31608b5</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><text x="90" y="10" font-size="12" fill="black" stroke-width="0px" id="value-r1-cfa9fab6ade2ec"><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,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="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-cfa9fab6ade2ec</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="70" font-size="12" fill="black" stroke-width="0px" id="value-c1-55a7645ce9ca7f"><tspan dx="-15" dy="15">1uf</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,70)">
+<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>1uf</wtx:value>
+ <wtx:label>value-c1-55a7645ce9ca7f</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="139.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-fe8eb9702470d7"><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,140)">
+<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-fe8eb9702470d7</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="123" r="3" stroke="black" fill="black"/><line x1="40" y1="50" x2="40" y2="19" stroke="black" stroke-width="2"/><line x1="40" y1="19" x2="90" y2="19" stroke="black" stroke-width="2"/><line x1="90" y1="19" x2="90" y2="20" stroke="black" stroke-width="2"/><line x1="130" y1="20" x2="190" y2="20" stroke="black" stroke-width="2"/><line x1="190" y1="20" x2="190" y2="70" stroke="black" stroke-width="2"/><line x1="190" y1="100" x2="190" y2="123" stroke="black" stroke-width="2"/><line x1="190" y1="123" x2="40" y2="123" stroke="black" stroke-width="2"/><line x1="40" y1="123" x2="40" y2="110" stroke="black" stroke-width="2"/><line x1="190" y1="123" x2="120" y2="123" stroke="black" stroke-width="2"/><line x1="120" y1="123" x2="40" y2="123" stroke="black" stroke-width="2"/><line x1="120" y1="140" x2="120" y2="123" stroke="black" stroke-width="2"/></svg> \ No newline at end of file