5.65. TabEdge (element)

<tabedge> ‐ A table of edges in a graph (a physical system)

5.65.1. Attributes

NameTypeDefaults
sizeINTEGERNone (required)

5.65.2. Description

This element defines a table of edges (springs) in a graph, a set of masses connected by springs.

The integer value size of the size attribute defines the number of edges contained in the table of edges. This element expects size edges in its scope.

5.65.3. Expected children

The following elements must occur in tabedge: as many edges as the value of the size attribute.

5.65.4. Example

The example below defines a tabedge with two edges.

<tabedge size="2">
     <edge index="1" ini="1" end="2" r="1.0" g="1.0" b="1.0" width="0.01" 
                       k="0.001" lIni="1.5" />
     <edge index="2" ini="2" end="3" r="1.0" g="1.0" b="1.0" width="0.01" 
                       k="0.001" lIni="1.5" />
</tabedge>