package d2sequence

Import Path
	oss.terrastruct.com/d2/d2layouts/d2sequence (on go.dev)

Dependency Relation
	imports 15 packages, and imported by one package


Package-Level Functions (total 2)
Layout runs the sequence diagram layout engine on objects of shape sequence_diagram 1. Run layout on sequence diagrams 2. Set the resulting dimensions to the main graph shape
Package-Level Constants (total 21)
const GROUP_Z_INDEX = 3
units of space on the left/right when computing the space required between actors
pad when the actor has the label placed OutsideMiddleBottom so that the lifeline is not so close to the text
const LIFELINE_Z_INDEX = 1
const MESSAGE_Z_INDEX = 4
const MIN_ACTOR_DISTANCE = 150
const MIN_ACTOR_WIDTH = 100
min vertical distance between messages
when a span has a single messages
const NOTE_Z_INDEX = 5
default size
as the spans start getting nested, their size grows
const SPAN_MESSAGE_PAD = 10
const SPAN_Z_INDEX = 2
units of space on the top/bottom when computing the space required between messages TODO lower