Demo of several major modifications to Jade

"Jade" is a circuit diagram application originally written by Chris Terman, James Knight and Milan Minsky at MIT for use in the 6.004 lecture course.

For the intelligent book project, I have been making large modifications to Jade. These include enabling circuit currents and voltages to be marked up on the circuit, adding an XPath API to a allow a external applications to set property values in the circuit, allowing Attributes to be recorded on properties (needed for the API), fixing up the applet code, and a few other things. These changes will be checked back into the CVS repository of Jade shortly.

Amir Hirsch assisted with the applet code by making a rough pass over the original Jade to identify which bits prevented it from running as an applet.

Beneath the applet are some HTML controls for making calls into Jade to test the APIs.

At the foot of the page is a description of some of the changes I have made to Jade.

Note:The combined JARs are about 700kB, so it could take a while to download at first

Couldn't start the Jade tools!

SetValue( Module: " " , XPath: , Value: ) Go!

Sets values of items in the schematic. Although the Jade internals do not have an XML document structure, the navigation is set to behave as if it does. Interesting items are instance, property, terminal, and wire.

Example xpath: instance[@name="Q1"]/terminal[@name="C"]/property[@name="i"]/@value

(The current into the Collector terminal of instance Q1)

SetAttribute( Module: " " , XPath: , Name: Value: ) Go!

Used for setting an attribute on an item, including if that attribute does not yet exist on that item

Recent changes:

(Several of these were normally being worked on at once)

page written by William Billingsley, 2003