2022-11-28 19:41:44 +00:00
|
|
|
package d2sequence
|
|
|
|
|
|
2022-11-28 21:08:52 +00:00
|
|
|
// leaves at least 25 units of space on the left/right when computing the space required between actors
|
|
|
|
|
const HORIZONTAL_PAD = 50.
|
2022-11-28 19:41:44 +00:00
|
|
|
|
|
|
|
|
const MIN_ACTOR_DISTANCE = 200.
|
|
|
|
|
|
|
|
|
|
// min vertical distance between edges
|
|
|
|
|
const MIN_EDGE_DISTANCE = 100.
|
2022-11-29 01:06:37 +00:00
|
|
|
|
2022-11-29 03:20:53 +00:00
|
|
|
// default size
|
2022-11-29 01:06:37 +00:00
|
|
|
const LIFESPAN_BOX_WIDTH = 20.
|
2022-11-29 02:23:51 +00:00
|
|
|
|
2022-11-29 03:20:53 +00:00
|
|
|
// as the lifespan boxes start getting nested, their size grows
|
|
|
|
|
const LIFESPAN_DEPTH_GROW_FACTOR = 10.
|
|
|
|
|
|
|
|
|
|
// when a lifespan box has a single edge
|
2022-11-29 02:23:51 +00:00
|
|
|
const DEFAULT_LIFESPAN_BOX_HEIGHT = MIN_EDGE_DISTANCE / 2.
|