Packagecom.yworks.graph.model
Classpublic final class GraphItemTypes

This class provides constants that can be used for various properties which take a bitwise combination of IGraph item types.



Public Constants
 ConstantDefined by
  ALL : uint = 63
[static] Constant for all item types.
GraphItemTypes
  BEND : uint = 32
[static] Constant for bends.
GraphItemTypes
  EDGE : uint = 2
[static] Constant for edges.
GraphItemTypes
  EDGE_LABEL : uint = 8
[static] Constant for edge labels.
GraphItemTypes
  LABEL : uint = 12
[static] Constant for all kinds of labels.
GraphItemTypes
  NODE : uint = 1
[static] Constant for nodes.
GraphItemTypes
  NODE_LABEL : uint = 4
[static] Constant for node labels.
GraphItemTypes
  NONE : uint = 0
[static] Constant for no item type.
GraphItemTypes
  PORT : uint = 16
[static] Constant for ports.
GraphItemTypes
Constant detail
ALLconstant
public static const ALL:uint = 63

Constant for all item types.

This is a bitwise combination of all other types declared in this class.

BENDconstant 
public static const BEND:uint = 32

Constant for bends.

See also

EDGEconstant 
public static const EDGE:uint = 2

Constant for edges.

See also

EDGE_LABELconstant 
public static const EDGE_LABEL:uint = 8

Constant for edge labels.

See also

LABELconstant 
public static const LABEL:uint = 12

Constant for all kinds of labels.

This is a bitwise combination of NODE_LABEL and EDGE_LABEL

See also

NODEconstant 
public static const NODE:uint = 1

Constant for nodes.

See also

NODE_LABELconstant 
public static const NODE_LABEL:uint = 4

Constant for node labels.

See also

NONEconstant 
public static const NONE:uint = 0

Constant for no item type.

This is a constant where no type bit is set, i.e. it is 0.

PORTconstant 
public static const PORT:uint = 16

Constant for ports.

See also