package d2sequence // leaves at least 25 units of space on the left/right when computing the space required between actors const HORIZONTAL_PAD = 50. // leaves at least 25 units of space on the top/bottom when computing the space required between messages const VERTICAL_PAD = 50. const MIN_ACTOR_DISTANCE = 250. const MIN_ACTOR_WIDTH = 150. const SELF_MESSAGE_HORIZONTAL_TRAVEL = 100. const GROUP_CONTAINER_PADDING = 24. // min vertical distance between messages const MIN_MESSAGE_DISTANCE = 80. // default size const SPAN_BASE_WIDTH = 12. // as the spans start getting nested, their size grows const SPAN_DEPTH_GROWTH_FACTOR = 8. // when a span has a single messages const MIN_SPAN_HEIGHT = 80. const SPAN_MESSAGE_PAD = 16. const LIFELINE_STROKE_WIDTH int = 2 const LIFELINE_STROKE_DASH int = 6 // pad when the actor has the label placed OutsideMiddleBottom so that the lifeline is not so close to the text const LIFELINE_LABEL_PAD = 5. const ( LIFELINE_Z_INDEX = 1 SPAN_Z_INDEX = 2 GROUP_Z_INDEX = 3 MESSAGE_Z_INDEX = 4 NOTE_Z_INDEX = 5 )