Documentation ¶
Overview ¶
d2near applies near keywords when they're constants Intended to be run as the last stage of layout after the diagram has already undergone layout
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithoutConstantNears ¶
func WithoutConstantNears(ctx context.Context, g *d2graph.Graph) (constantNearGraphs []*d2graph.Graph)
WithoutConstantNears plucks out the graph objects which have "near" set to a constant value This is to be called before layout engines so they don't take part in regular positioning
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.