...

Package d2layoutfeatures

import "oss.terrastruct.com/d2/d2layouts/d2layoutfeatures"
Overview
Index

Overview ▾

Index ▾

Package files

d2layoutfeatures.go

Constants

When this is true, containers can have dimensions set

const CONTAINER_DIMENSIONS = "container_dimensions"

When this is true, objects can set their `near` key to another object When this is false, objects can only set `near` to constants

const NEAR_OBJECT = "near_object"

When this is true, objects can specify their `top` and `left` keywords

const TOP_LEFT = "top_left"