Node coordinates


Enumerations

enum  abstractMixedGraph::TMetricType {
  abstractMixedGraph::METRIC_DISABLED = 0,
  abstractMixedGraph::METRIC_MANHATTAN = 1,
  abstractMixedGraph::METRIC_EUCLIDIAN = 2,
  abstractMixedGraph::METRIC_MAXIMUM = 3,
  abstractMixedGraph::METRIC_SPHERIC = 4
}

Functions

virtual TFloat abstractMixedGraph::C (TNode v, TDim i) const throw (ERRange)
void abstractMixedGraph::SetC (TNode v, TDim i, TFloat pos) throw (ERRange,ERRejected)
TFloat abstractMixedGraph::CMin (TDim i) const throw (ERRange)
TFloat abstractMixedGraph::CMax (TDim i) const throw (ERRange)
virtual TDim abstractMixedGraph::Dim () const throw ()
TMetricType abstractMixedGraph::MetricType () const throw ()

Enumeration Type Documentation

enum TMetricType [inherited]
 

Arc length metric types.

Enumerator:
METRIC_DISABLED  Apply the arc length attribute values.
METRIC_MANHATTAN  Apply the Manhattan metric.
METRIC_EUCLIDIAN  Apply the Euclidian metric.
METRIC_MAXIMUM  Apply the maximum coordinate metric.
METRIC_SPHERIC  Apply an earth speric metric.


Function Documentation

TFloat C TNode  v,
TDim  i
const throw (ERRange) [virtual, inherited]
 

Retrieve a node coordinate value.

Parameters:
v A node index ranged [0,1,..,n+ni-1]
i A coordinate index
Returns:
The i-th coordinate value of node v

Reimplemented in balancedToBalanced, bigraphToDigraph, digraphToDigraph, graphToBalanced, and surfaceGraph.

TFloat CMax TDim  i  )  const throw (ERRange) [inherited]
 

Retrieve the maximum coordinate value for a given coordinate index.

Parameters:
i A coordinate index
Returns:
The maximum i-th coordinate value among all nodes

Reimplemented in balancedToBalanced, bigraphToDigraph, digraphToDigraph, graphToBalanced, and surfaceGraph.

TFloat CMin TDim  i  )  const throw (ERRange) [inherited]
 

Retrieve the minimum coordinate value for a given coordinate index.

Parameters:
i A coordinate index
Returns:
The minimum i-th coordinate value among all nodes

TDim Dim  )  const throw () [virtual, inherited]
 

Retrieve the coordinate representational dimension.

Returns:
The coordinate representational dimension

Reimplemented in layeredAuxNetwork, balancedToBalanced, bigraphToDigraph, digraphToDigraph, graphToBalanced, and surfaceGraph.

abstractMixedGraph::TMetricType MetricType  )  const throw () [inherited]
 

Retrieve the type of arc length metric.

Returns:
The metric type

void SetC TNode  v,
TDim  i,
TFloat  pos
throw (ERRange,ERRejected) [inherited]
 

Set a node coordinate value.

Parameters:
v A node index ranged [0,1,..,n+ni-1]
i A coordinate index
pos The desired coordinate value for node v