Module dotavious::attributes [−][src]
Structs
ColorList | |
GraphAttributeStatementBuilder | |
Point | |
Rectangle | |
SplineType | The number of points in the list must be equivalent to 1 mod 3; note that this is not checked. TODO: should we check? |
WeightedColor |
Enums
ArrowType | |
AttributeText | The text for a graphviz label on a node or edge. |
AttributeType | |
ClusterMode | |
Color | |
CompassPoint | |
Direction | |
EdgeStyle | |
GraphStyle | |
ImagePosition | Controls how an image is positioned within its containing node. Only has an effect when the image is smaller than the containing node. |
ImageScale | Controls how an image fills its containing node. In general, the image is given its natural size, (cf. dpi), and the node size is made large enough to contain its image, its label, its margin, and its peripheries. |
LabelJustification | Justification for cluster labels. |
LabelLocation | Vertical placement of labels for nodes, root graphs and clusters. |
NodeStyle | |
Ordering | If out, then the outedges of a node, that is, edges with the node as its tail node, must appear left-to-right in the same order in which they are defined in the input. |
OutputMode | These specify the order in which nodes and edges are drawn in concrete output. |
PackMode | The modes “node”, “clust” or “graph” specify that the components should be packed together tightly, using the specified granularity. |
PageDirection | These specify the 8 row or column major orders for traversing a rectangular array, the first character corresponding to the major order and the second to the minor order. Thus, for “BL”, the major order is from bottom to top, and the minor order is from left to right. This means the bottom row is traversed first, from left to right, then the next row up, from left to right, and so on, until the topmost row is traversed |
PortPosition | Modifier indicating where on a node an edge should be aimed. If Port is used, the corresponding node must either have record shape with one of its fields having the given portname, or have an HTML-like label, one of whose components has a PORT attribute set to portname. If no compass point is used with a portname, the default value is “_”. |
RankDir | Corresponding to directed graphs drawn from top to bottom, from left to right, from bottom to top, and from right to left, respectively. |
Ratio | Sets the aspect ratio (drawing height/drawing width) for the drawing. Note that this is adjusted before the size attribute constraints are enforced. In addition, the calculations usually ignore the node sizes, so the final drawing size may only approximate what is desired. |
Shape | |
Splines | Spline, edges are drawn as splines routed around nodes Line, edges are drawn as line segments Polygon, specifies that edges should be drawn as polylines. Ortho, specifies edges should be routed as polylines of axis-aligned segments. Curved, specifies edges should be drawn as curved arcs. splines=line and splines=spline can be used as synonyms for splines=false and splines=true, respectively. |
Styles |
Traits
EdgeAttributes | |
GraphAttributes | |
IntoWeightedColor | Convert an element like |
NodeAttributes |