Skip to main content
Module

x/graphviz/mod.ts>attribute.pack

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

This is true if the value of pack is "true" (case-insensitive) or a non-negative integer. If true, each connected component of the graph is laid out separately, and then the graphs are packed together. If pack has an integral value, this is used as the size, in points, of a margin around each part; otherwise, a default margin of 8 is used. If pack is interpreted as false, the entire graph is laid out together. The granularity and method of packing is influenced by the packmode attribute.

For layouts which always do packing, such a twopi, the pack attribute is just used to set the margin.

type

"pack"