Develop > Tailoring > Form creation > Forms Designer > Creating and editing forms > Valid values for graph elements and attributes

Valid values for graph elements and attributes

These are the valid values for the elements and attributes.

Element/attribute name Type
action String specifying an action acted on by the associated action handler.
action/balloon String specifying tooltip to display if action is shown in a menu.
action/forcemenu If set to true, indicates the pop-up should be display when only one labeled action is defined.
action/label String specifying a label to display if action is shown in a menu.
action/type String specifying the type of action invoked by the action handler.
balloon String specifying the balloon text to show for the item.
edge/from String specifying the ID of the originating node.
edge/id String specifying a unique ID for the edge.
edge/to String specifying the ID of the target node.
icon String specifying relative or absolute URL or relative resource path.
icon/group String specifying a display group name.
icon/position String specifying icon position from one of the possible values relative to the node center. The default is C.
N = North or above
NE = Northeast or upper right
E = East or right
SE = Southeast or lower right
S = South or below
SW = Southwest or lower left
W = West or left
NW = Northwest or upper left
C = Center
label/font String specifying font name per Java Font class.
label/style Integer specifying font style per Java Font class.
label/size Integer specifying font size per Java Font class.
line/color String specifying color name or Hex RGB color value prefixed with #. The default is black.
line/end Integer specifying the type of line end. The default is 0.
NO ARROW = 0
SOURCE_ARROW = 1 TARGET_ARROW = 2
SOURCE_AND_TARGET_ARROW = 3
line/highlightcolor String specifying highlight color name or Hex RGB color value prefixed with #. The default is none.
line/style Integer specifying line style. The default is 0.
SOLID = 0
LONG_DASH = 1
SHORT_DASH = 2
DOT = 3
DASH_DOT = 4
DASH_DOT_DOT = 5
line/weight Integer specifying the line weight. The default is 2.
node/id String specifying a unique id for the node.
shape/color String specifying fill-color name or Hex RGB color value prefixed with #. The default is none.
shape/height Integer specifying height.
shape/type Integer specifying the type of shape. The default is –1.
NONE=–1
RECTANGLE = 0
ELLIPSE = 1
DIAMOND = 2
ROUNDED_RECT = 3
shape/width Integer specifying width.
shape/x Integer specifying x coordinate.
shape/y Integer specifying y coordinate.
state/expanded If set to true, indicates the node is currently expanded.
state/hidden If set to true, indicates the node or edge is currently hidden.
state/opened If set to true, indicates the node has been opened by reading the associated XMLADD action or URL.
state/root If set to true, indicates the node is the root node for the graph.
url String specifying a relative or absolute URL path
url/balloon String specifying tooltip to display if URL is shown in a menu.
url/label String specifying a label to display if URL is shown in a menu.
url/urltype String specifying the type of URL. The default is HTML.
HTML = new HTML page
XML = new XML defining graph
XML_ADD = XML content to add to current graph