Skip to main content
Module

x/graphviz/mod.ts>attribute.weight

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

Weight of edge. In dot, the heavier the weight, the shorter, straighter and more vertical the edge is. N.B. Weights in dot must be integers. For twopi, a weight of 0 indicates the edge should not be used in constructing a spanning tree from the root. For other layouts, a larger weight encourages the layout to make the edge length closer to that specified by the len attribute.

type

"weight"