cytoscape.visual
Class ShapeNodeRealizer
java.lang.Object
cytoscape.visual.ShapeNodeRealizer
public class ShapeNodeRealizer
- extends Object
This class is a replacement for the yFiles ShapeNodeRealizer class.
It defines byte constants specifying shape types.
RECT
public static final byte RECT
- See Also:
- Constant Field Values
ROUND_RECT
public static final byte ROUND_RECT
- See Also:
- Constant Field Values
RECT_3D
public static final byte RECT_3D
- See Also:
- Constant Field Values
TRAPEZOID
public static final byte TRAPEZOID
- See Also:
- Constant Field Values
TRAPEZOID_2
public static final byte TRAPEZOID_2
- See Also:
- Constant Field Values
TRIANGLE
public static final byte TRIANGLE
- See Also:
- Constant Field Values
PARALLELOGRAM
public static final byte PARALLELOGRAM
- See Also:
- Constant Field Values
DIAMOND
public static final byte DIAMOND
- See Also:
- Constant Field Values
ELLIPSE
public static final byte ELLIPSE
- See Also:
- Constant Field Values
HEXAGON
public static final byte HEXAGON
- See Also:
- Constant Field Values
OCTAGON
public static final byte OCTAGON
- See Also:
- Constant Field Values
ShapeNodeRealizer
public ShapeNodeRealizer()
parseNodeShapeTextIntoByte
public static Byte parseNodeShapeTextIntoByte(String text)
parseNodeShapeText
public static byte parseNodeShapeText(String text)
getNodeShapeText
public static String getNodeShapeText(byte shape)
getGinyShape
public static int getGinyShape(byte byteShape)
isValidShape
public boolean isValidShape(byte shape)