Xic uses a ``hypertext'' mechanism in the representation of property strings and label text in electrical mode. When creating a label, clicking on a connection point in the drawing, for example, will enter a hypertext link to the node into the label. The hypertext is shown in a different color in the prompt line. The label will always display the correct name for the node, should the name subsequently change. This is the means by which node labels can be added to the drawing.
This same capability applies when adding or editing properties from the Property Editor provided by the Properties button in the Edit Menu.
By default, the names of circuit nodes and devices are internally assigned, implying that the name of a particular device or node name of a particular wire net is not well defined. This poses a problem when one wishes to identify a specific device or wire net by name. The hypertext feature addresses this issue, as do the node name mapping and name property assignment features.
The hypertext capability is active when editing a string for a property or label in electrical mode. One inserts a hypertext reference into the text shown on the prompt line by clicking with button 1 in a drawing window, over the object to be referenced. There are three types of reference:
The node references and hidden targets are also the sensitive points when using the plot and iplot commands.
This feature can be used to set up specialized SPICE output. Suppose one wishes to use the save command in WRspice. A spicetext label can be created, where the nodes to be included in the save are inserted in the label by clicking on the drawing. The resulting save command will always save the clicked-on nodes, whether or not the actual node names change.
For another example, suppose one needs to apply a functional dependence to a voltage source in the circuit to the voltage of some node. One would accomplish this with the following procedure.
The equation should appear in the property label near the voltage source. This could be, for example, ``2*v(4) + v(5)'', if default node names are used. Later, after modifying the circuit, one might notice that the label now reads ``2*v(6) + v(8)''. The internal node numbering has changed due to the modification, but the source still references the correct circuit nodes. This would not be the case if ordinary text was used for the equation string.