Skip to main content
Module

x/graphviz/mod.ts>attribute.imagepos

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

Attribute controlling how an image is positioned within its containing node. This only has an effect when the image is smaller than the containing node. The default is to be centered both horizontally and vertically. Valid values:

tl Top Left
tc Top Centered
tr Top Right
ml Middle Left
mc Middle Centered (the default)
mr Middle Right
bl Bottom Left
bc Bottom Centered
br Bottom Right

type

"imagepos"