Struct dotavious::dot::EdgeAttributeStatementBuilder[][src]

pub struct EdgeAttributeStatementBuilder<'a> {
    pub attributes: IndexMap<String, AttributeText<'a>>,
    // some fields omitted
}

Fields

attributes: IndexMap<String, AttributeText<'a>>

Implementations

Trait Implementations

Style of arrowhead on the head node of an edge. This will only appear if the dir attribute is forward or both. Read more

Multiplicative scale factor for arrowheads. default: 1.0, minimum: 0.0 Read more

Style of arrowhead on the tail node of an edge. This will only appear if the dir attribute is back or both. Read more

Classnames to attach to the edge’s SVG element. Combine with stylesheet for styling SVG output using CSS classnames. Multiple space-separated classes are supported. Read more

Basic drawing color for graphics, not text. For the latter, use the fontcolor attribute. If any fraction is used, the colors are drawn in series, with each color being given roughly its specified fraction of the edge. Read more

Basic drawing color for graphics, not text. For the latter, use the fontcolor attribute. if colorList has no fractions, the edge is drawn using parallel splines or lines, one for each color in the list, in the order given. The head arrow, if any, is drawn using the first color in the list, and the tail arrow, if any, the second color. This supports the common case of drawing opposing edges, but using parallel splines instead of separately routed multiedges. If any fraction is used, the colors are drawn in series, with each color being given roughly its specified fraction of the edge. Read more

This attribute specifies a color scheme namespace: the context for interpreting color names. In particular, if a color value has form “xxx” or “//xxx”, then the color xxx will be evaluated according to the current color scheme. If no color scheme is set, the standard X11 naming is used. For example, if colorscheme=bugn9, then color=7 is interpreted as color=“/bugn9/7”. Read more

Comments are inserted into output. Device-dependent

If false, the edge is not used in ranking the nodes.

If true, attach edge label to edge by a 2-segment polyline, underlining the label, then going to the closest point of spline. Read more

Edge type for drawing arrowheads. Indicates which ends of the edge should be decorated with an arrowhead. The actual style of the arrowhead can be specified using the arrowhead and arrowtail attributes. Read more

If the edge has a URL or edgeURL attribute, edgetarget determines which window of the browser is used for the URL attached to the non-label part of the edge. Setting edgetarget=_graphviz will open a new window if it doesn’t already exist, or reuse it if it does. Read more

Tooltip annotation attached to the non-label part of an edge. Used only if the edge has a URL or edgeURL attribute. Read more

The link for the non-label parts of an edge. edgeURL overrides any URL defined for the edge. Also, edgeURL is used near the head or tail node unless overridden by headURL or tailURL, respectively. Read more

Color used to fill the background of a node or cluster assuming style=filled, or a filled arrowhead. Read more

Color used to fill the background of a node or cluster assuming style=filled, or a filled arrowhead. A gradient fill is used. By default, this is a linear fill; setting style=radial will cause a radial fill. At present, only two colors are used. If the second color (after a colon) is missing, the default color is used for it. Read more

Color used for text.

Font used for text.

Font size, in points, used for text. default: 14.0, minimum: 1.0 Read more

Position of an edge’s head label, in points. The position indicates the center of the label.

If true, the head of an edge is clipped to the boundary of the head node; otherwise, the end of the edge goes to the center of the node, or the center of a port, if applicable. Read more

Text label to be placed near head of edge.

Indicates where on the head node to attach the head of the edge. In the default case, the edge is aimed towards the center of the node, and then clipped at the node boundary. Read more

If the edge has a headURL, headtarget determines which window of the browser is used for the URL. Setting headURL=_graphviz will open a new window if the window doesn’t already exist, or reuse the window if it does. If undefined, the value of the target is used. Read more

Tooltip annotation attached to the head of an edge. Used only if the edge has a headURL attribute. Read more

If defined, headURL is output as part of the head label of the edge. Also, this value is used near the head node, overriding any URL value. Read more

An escString or an HTML label.

Determines, along with labeldistance, where the headlabel / taillabel are placed with respect to the head / tail in polar coordinates. The origin in the coordinate system is the point where the edge touches the node. The ray of 0 degrees goes from the origin back along the edge, parallel to the edge at the origin. The angle, in degrees, specifies the rotation from the 0 degree ray, with positive angles moving counterclockwise and negative angles moving clockwise. default: -25.0, minimum: -180.0 Read more

Multiplicative scaling factor adjusting the distance that the headlabel / taillabel is from the head / tail node. default: 1.0, minimum: 0.0 Read more

If true, allows edge labels to be less constrained in position. In particular, it may appear on top of other edges. Read more

Color used for headlabel and taillabel.

Font used for headlabel and taillabel. If not set, defaults to edge’s fontname. Read more

Font size, in points, used for headlabel and taillabel. If not set, defaults to edge’s fontsize. default: 14.0, minimum: 1.0 Read more

If the edge has a URL or labelURL attribute, this attribute determines which window of the browser is used for the URL attached to the label. Read more

Tooltip annotation attached to label of an edge. Used only if the edge has a URL or labelURL attribute. Read more

If defined, labelURL is the link used for the label of an edge. labelURL overrides any URL defined for the edge. Read more

Label position The position indicates the center of the label. Read more

Logical tail of an edge. When compound=true, if ltail is defined and is the name of a cluster containing the real tail, the edge is clipped to the boundary of the cluster. Read more

Minimum edge length (rank difference between head and tail).

Position of node, or spline control points. the position indicates the center of the node. On output, the coordinates are in points. Read more

Edges with the same head and the same samehead value are aimed at the same point on the head.

Edges with the same tail and the same sametail value are aimed at the same point on the tail.

Print guide boxes in PostScript at the beginning of routesplines if showboxes=1, or at the end if showboxes=2. (Debugging, TB mode only!) default: 0, minimum: 0 Read more

Set style information for components of the graph.

Position of an edge’s tail label, in points. The position indicates the center of the label. Read more

If true, the tail of an edge is clipped to the boundary of the tail node; otherwise, the end of the edge goes to the center of the node, or the center of a port, if applicable. Read more

Text label to be placed near tail of edge.

Indicates where on the tail node to attach the tail of the edge.

If the edge has a tailURL, tailtarget determines which window of the browser is used for the URL.

Tooltip annotation attached to the tail of an edge.

If defined, tailURL is output as part of the tail label of the edge. Also, this value is used near the tail node, overriding any URL value. Read more

If the object has a URL, this attribute determines which window of the browser is used for the URL.

Tooltip annotation attached to the node or edge. If unset, Graphviz will use the object’s label if defined. Note that if the label is a record specification or an HTML-like label, the resulting tooltip may be unhelpful. In this case, if tooltips will be generated, the user should set a tooltip attribute explicitly. Read more

Hyperlinks incorporated into device-dependent output.

Weight of edge. The heavier the weight, the shorter, straighter and more vertical the edge is. default: 1, minimum: 0 Read more

External label for a node or edge. The label will be placed outside of the node but near it. These labels are added after all nodes and edges have been placed. The labels will be placed so that they do not overlap any node or label. This means it may not be possible to place all of them. To force placing all of them, set forcelabels=true. Read more

Position of an exterior label, in points. The position indicates the center of the label. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.