Skip to main content
Module

x/graphviz/mod.ts>attribute.style

🦕 Simple Graphviz library for Deno.
Latest
variable attribute.style
import { attribute } from "https://deno.land/x/graphviz@v0.2.1/mod.ts";
const { style } = attribute;

Set style information for components of the graph. For cluster subgraphs, if style="filled", the cluster box's background is filled.

If the default style attribute has been set for a component, an individual component can use style="" to revert to the normal default. For example, if the graph has

edge [style="invis"]

making all edges invisible, a specific edge can overrride this via:

a -> b [style=""]

Of course, the component can also explicitly set its style attribute to the desired value.

type

"style"