Class: Wire

Wire(net, coords)

Class representing a wire.

Constructor

new Wire(net, coords)

Generates a wire.

Parameters:
Name Type Description
net Array.<Net>

the corresponding net/potential

coords Array.<Coordinate>

positions of wire "edges"

Source:

Methods

serialize(indentopt) → {string}

Serializes the wire. The TikZ "source code" is returned.

Parameters:
Name Type Attributes Default Description
indent number <optional>
0

the indention (= amount of tabs) to use

Source:
Returns:

the serislized wire

Type
string