Home » Length

Length

Connection lengths between nodes can be specified using several methods described below using the type attribute.

<Connection>
    <Length type="...">
    ...
</Connection>

 

enz_fixed
This attribute specifies a fixed length in metres from the element content. The type=”enz_fixed attribute is optional.

<Length type="enz_fixed">value</Length>

or

<Length>value</Length>

 

enz_centres or enz_centers
The attribute calculates the centre-to-centre distance between the two connecting nodes. One half of the square root of the square of each node length and node width are summed together. If a node is ‘safe’ then its dimension is taken to be zero. If a connection does not have an associated <Length> element then this algorithm is used.

<Length type="enz_centres"/>

 

enz_distribution
Using this attribute will set the connection length from a distribution when the Map is loaded. The length will not change each simulation.

<Length type="enz_distribution">
    <Distribution type="...">
        ...
    </Distribution>
</Length>