Attribute Types

Catalogue of the schemas/types/grammars expected by attributes.

The following list gives the legal strings corresponding to values of the given types. The syntax for describing legal type strings is a mixture of literal strings, stdio encodings (e.g., %f for a double), and regular expressions. For regular expressions, (...)* indicates 0 or more copies of the expression enclosed in the parentheses, (...)+ indicates 1 or more, and (...)? denotes 0 or 1 copy.


addDouble

A double with an optional prefix '+'.

addPoint

A point with an optional prefix +.

arrowType

Edge arrowhead shape

bool

Boolean; true or false.

clusterMode

color

colorList

List of (optionally weighted) color values, forming a linear gradient

dirType

Edge arrow direction type

double

Double-precision floating point number

doubleList

List of doubles

escString

String with backslashed escape sequences

int

Integer number

layerList

layerRange

A list of layers defined by the layers attribute

lblString

Label string

outputMode

The order in which nodes and edges are drawn in output.

packMode

How closely to pack together graph components

pagedir

Page Direction

point

2-dimensional (or 3-dimensional) geometrical point in space

pointList

A list of points

portPos

Port Position: where on a node an edge should be aimed

quadType

Quadtree scheme

rankdir

Direction to draw directed graphs (one rank at a time)

rankType

Rank constraints on the nodes in a subgraph

rect

A geometric rectangle in space, defined by two points

shape

the shape of a node

smoothType

splineType

startType

How to initially layout nodes

string

Text; a sequence of characters.

style

viewPort

Clipping window on final drawing

xdot

List of graphical operations in Graphviz's xdot language.

Last modified October 4, 2022: description for Attribute Types (961afa5)