|
<html> |
|
<head> |
|
<script type="text/javascript" |
|
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_SVG"> |
|
</script> |
|
<script type="text/javascript" src="svg_mathjax.js"> |
|
</script> |
|
<script type="text/javascript"> |
|
new Svg_MathJax().install(); |
|
</script> |
|
</head> |
|
<body> |
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:inkspace="http://www.inkscape.org/namespaces/inkscape" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="600"> |
|
<defs id="defs_block"> |
|
<filter height="1.504" id="filter_blur" inkspace:collect="always" width="1.1575" x="-0.07875" y="-0.252"> |
|
<feGaussianBlur id="feGaussianBlur3780" inkspace:collect="always" stdDeviation="4.2" /> |
|
</filter> |
|
</defs> |
|
<title>blockdiag</title> |
|
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="128" x="67" y="46" /> |
|
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="128" x="259" y="46" /> |
|
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="128" x="451" y="46" /> |
|
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="128" x="451" y="126" /> |
|
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="128" x="643" y="126" /> |
|
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="128" x="64" y="40" /> |
|
<text fill="rgb(0,0,0)" font-family="sansserif" font-size="11" font-style="normal" font-weight="normal" x="110" y="65">plain text</text> |
|
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="128" x="256" y="40" /> |
|
<text fill="rgb(0,0,0)" font-family="sansserif" font-size="11" font-style="normal" font-weight="normal" x="320" y="65">\( e^{-sT} \)</text> |
|
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="128" x="448" y="40" /> |
|
<text fill="rgb(0,0,0)" font-family="sansserif" font-size="11" font-style="normal" font-weight="normal" x="512" y="65">R\( \frac{3}{s^2+1} \)</text> |
|
<text fill="rgb(0,0,0)" font-family="sansserif" font-size="11" font-style="normal" font-weight="normal" x="470" y="95">aligned at the right</text> |
|
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="128" x="448" y="120" /> |
|
<text fill="rgb(0,0,0)" font-family="sansserif" font-size="11" font-style="normal" font-weight="normal" x="512" y="145">L\( H(s) \)</text> |
|
<text fill="rgb(0,0,0)" font-family="sansserif" font-size="11" font-style="normal" font-weight="normal" x="470" y="175">aligned at the left</text> |
|
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="128" x="640" y="120" /> |
|
<text fill="rgb(0,0,0)" font-family="sansserif" font-size="11" font-style="normal" font-weight="normal" x="704" y="145">$ K_p + \left( 1 + {1 \over T s} \right) $</text> |
|
<path d="M 192 60 L 248 60" fill="none" stroke="rgb(0,0,0)" /> |
|
<polygon fill="rgb(0,0,0)" points="255,60 248,56 248,64 255,60" stroke="rgb(0,0,0)" /> |
|
<path d="M 384 60 L 440 60" fill="none" stroke="rgb(0,0,0)" /> |
|
<polygon fill="rgb(0,0,0)" points="447,60 440,56 440,64 447,60" stroke="rgb(0,0,0)" /> |
|
<path d="M 384 60 L 416 60" fill="none" stroke="rgb(0,0,0)" /> |
|
<path d="M 416 60 L 416 140" fill="none" stroke="rgb(0,0,0)" /> |
|
<path d="M 416 140 L 440 140" fill="none" stroke="rgb(0,0,0)" /> |
|
<polygon fill="rgb(0,0,0)" points="447,140 440,136 440,144 447,140" stroke="rgb(0,0,0)" /> |
|
<path d="M 576 140 L 632 140" fill="none" stroke="rgb(0,0,0)" /> |
|
<polygon fill="rgb(0,0,0)" points="639,140 632,136 632,144 639,140" stroke="rgb(0,0,0)" /> |
|
<path d="M 768 140 L 784 140" fill="none" stroke="rgb(0,0,0)" /> |
|
<path d="M 784 140 L 784 25" fill="none" stroke="rgb(0,0,0)" /> |
|
<path d="M 320 25 L 784 25" fill="none" stroke="rgb(0,0,0)" /> |
|
<path d="M 320 25 L 320 32" fill="none" stroke="rgb(0,0,0)" /> |
|
<polygon fill="rgb(0,0,0)" points="320,39 316,32 324,32 320,39" stroke="rgb(0,0,0)" /> |
|
</svg> |
|
</body> |
|
</html> |
I'm not a JavaScript developer, but needed this for a project, so I took a shot at updating it for MathJax3 (https://gist.github.com/jhcole/0fcefdc1c0a931dcc27407074bfc87b2)