suvi.api.alg.attr
Interface NodeRankingAttr

All Superinterfaces:
GraphLayoutAttr

public interface NodeRankingAttr
extends GraphLayoutAttr

Node ranking attributes.

Node ranks must be integers between 0 and some non-negative maximum rank.


Field Summary
static NodeRankingAttr DEFAULT
          Default explicit node ranking attributes.
static GraphLayoutAttrBuilderFactory DEFAULT_BUILDER_FACTORY
          Default node ranking attribute builder factory.
static int DEFAULT_NODE_RANK
          The default rank of a node is 0.
static java.lang.Object KEY_NODE_RANK
          Key for textual attribute representation.
 
Method Summary
 int nodeRank(java.lang.Object node)
          The rank of the specified node.
 

Field Detail

KEY_NODE_RANK

public static final java.lang.Object KEY_NODE_RANK

Key for textual attribute representation.


DEFAULT_NODE_RANK

public static final int DEFAULT_NODE_RANK

The default rank of a node is 0.

See Also:
Constant Field Values

DEFAULT

public static final NodeRankingAttr DEFAULT

Default explicit node ranking attributes.


DEFAULT_BUILDER_FACTORY

public static final GraphLayoutAttrBuilderFactory DEFAULT_BUILDER_FACTORY

Default node ranking attribute builder factory.

Method Detail

nodeRank

public int nodeRank(java.lang.Object node)

The rank of the specified node.