d2layoutfeatures

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package d2layoutfeatures contains legacy string names for layout plugin capabilities.

Deprecated: use d2plugin.PluginFeature and the feature constants in github.com/d2lang/d2/d2plugin. This package will be removed after one compatibility release.

Index

Constants

View Source
const CONTAINER_DIMENSIONS = "container_dimensions"

When this is true, containers can have dimensions set

Deprecated: use d2plugin.CONTAINER_DIMENSIONS. This compatibility constant will be removed with the d2layoutfeatures package.

View Source
const NEAR_OBJECT = "near_object"

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

Deprecated: use d2plugin.NEAR_OBJECT. This compatibility constant will be removed with the d2layoutfeatures package.

View Source
const TOP_LEFT = "top_left"

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

Deprecated: use d2plugin.TOP_LEFT. This compatibility constant will be removed with the d2layoutfeatures package.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL