d2 icon indicating copy to clipboard operation
d2 copied to clipboard

layout: near should take set of constant values

Open alixander opened this issue 3 years ago • 0 comments

E.g. i want this title text to be CENTER_TOP, or TOP_LEFT.

...
x- > y
...

title: Cool diagram {
  near: CENTER_TOP
}

These wouldn't be part of layout engine anymore. It'd be like absolute positioning. If it collides with objects, then extend boundary.

alixander avatar Nov 22 '22 21:11 alixander