GLG Toolkit v. 4.2

com.genlogic.GraphLayout
Class GlgGraphNode

java.lang.Object
  extended by com.genlogic.GraphLayout.GlgGraphNode

public class GlgGraphNode
extends java.lang.Object

Graph node.


Field Summary
 boolean anchor
          Anchor flag.
 java.lang.Object data
          Data associated with the node.
 GlgPoint display_position
          Node display position in Glg coordinates (-1000;+1000).
 GlgObject graphics
          Graphics object used to render the node.
 GlgObject link_array
          Array of all edges connected to the node.
 GlgPoint position
          Node position in normalized range (0;1).
 GlgObject template
          Custom graphics to render the node.
 int type
          Node type.
 
Constructor Summary
GlgGraphNode()
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public java.lang.Object data
Data associated with the node.


type

public int type
Node type. Used for selecting node icon from a palette.


template

public GlgObject template
Custom graphics to render the node. Overrides the node's icon from a palette.


graphics

public GlgObject graphics
Graphics object used to render the node.


position

public GlgPoint position
Node position in normalized range (0;1).


display_position

public GlgPoint display_position
Node display position in Glg coordinates (-1000;+1000).


link_array

public GlgObject link_array
Array of all edges connected to the node.


anchor

public boolean anchor
Anchor flag. Setting this flag to true anchors the node: the node is not moving, the rest of nodes move around this node.

Constructor Detail

GlgGraphNode

public GlgGraphNode()
Constructor


GLG Toolkit v. 4.2