Skip to main content
Rust4PM

Overlay

A fragment or panel drawn outside the node/edge stack.
Used as Input

0

functions accept this type(+1 nested)

Used as Output

0

functions return this type(+8 nested)

Type Definition

131 nested items
struct— A fragment or panel drawn outside the node/edge stack.
attrs:Attrs— Escape-hatch attributes available on every drawable.
id:Option<String>— The element's id.
style:Option<String>— Inline CSS, emitted as the style attribute.
content*:OverlayContent— What an Overlay draws.
z:ZOrder— Whether an overlay is drawn under or over the graph.
variant 1:"under"— Under the nodes and edges, over the background.
variant 2:"over"— Over the nodes and edges.

Example JSON Value

json
{
  "content": {
    "kind": "raw"
  }
}