d2/d2layouts/d2layoutfeatures/d2layoutfeatures.go

12 lines
410 B
Go
Raw Permalink Normal View History

2023-02-19 05:51:55 +00:00
package d2layoutfeatures
// When this is true, objects can set their `near` key to another object
2023-02-19 05:51:55 +00:00
// When this is false, objects can only set `near` to constants
const NEAR_OBJECT = "near_object"
// When this is true, containers can have dimensions set
const CONTAINER_DIMENSIONS = "container_dimensions"
// When this is true, objects can specify their `top` and `left` keywords
const TOP_LEFT = "top_left"