Skip to main content
Module

x/graphviz/mod.ts>attribute.overlap_scaling

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

When overlap=prism, the layout is scaled by this factor, thereby removing a fair amount of node overlap, and making node overlap removal faster and better able to retain the graph's shape.

If overlap_scaling is negative, the layout is scaled by -1*overlap_scaling times the average label size. If overlap_scaling is positive, the layout is scaled by overlap_scaling. If overlap_scaling is zero, no scaling is done.

type

"overlap_scaling"