To use these tools, add the script to the head of the html document.
For example, inserting:
<script> dia=diagram([100,30]); dia.inductor([15,15],[85,15]); dia.terminal([15,15],[85,15]); </script>
into the document would yield:
Continue to the Reference to learn how to make more interesting things, or go back to the index to see examples.