Skip to main content
Module

x/graphviz/mod.ts>attribute.sep

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

Specifies margin to leave around nodes when removing node overlap. This guarantees a minimal non-zero distance between nodes.

If the attribute begins with a plus sign '+', an additive margin is specified. That is, "+w,h" causes the node's bounding box to be increased by w points on the left and right sides, and by h points on the top and bottom. Without a plus sign, the node is scaled by 1 + w in the x coordinate and 1 + h in the y coordinate.

If only a single number is given, this is used for both dimensions.

If unset but esep is defined, the sep values will be set to the esep values divided by 0.8. If esep is unset, the default value is used.

type

"sep"