Skip to main content

Variable: AUTO_DAGRE_MAX_NODES

const AUTO_DAGRE_MAX_NODES: 3 = 3;

engine: 'auto' lays out a connected component of free nodes with dagre when it has at most this many nodes and no TableGroup with members in it, else with ELK. Chosen from the measurement in test/engine-auto.bench.ts (decision 0003): up to 3 nodes dagre matches ELK on crossings, area and refs under tables in >= 95 % of components.