Layout benchmarkLayoutsSummary of scoresThe metrics

Summary of scores

Per layout and metric: its median rank over the models (1 = the best of that model's layouts; ties share the mean rank), with the number of models ranked in brackets. A layout is ranked on a model only where it has a value: not where it failed, nor where a metric doesn't apply (overlaps without node sizes, compartments without boxes, similarity without a reference). Every metric is taken on the drawing as shown, in the tool's own coordinates (see the README). The score is the combined score of the project's pathway layout scorer (its thresholds and weights, its own choices; at c1f2ef7), on this benchmark's values of the rules: per layout the median over the models it drew, failed runs left out (see laid out), with the number of models in brackets; hard rules: the median share passed. Click a column to sort; hover a header for what it measures. The header's top row says where each metric comes from; the metrics below says what each measures and how. The best median rank per column is highlighted.

Models:

pathway maps: project 22's layout rules and this benchmark's checkscomparison with the referencegeneral graph drawing (gdMetriX)the runs
the runspathway maps (project 22's layout rules and this benchmark's checks)comparison with the referencegeneral graph drawing (gdMetriX)
runsscorerreproduciblecyclescofactorscrossingthroughplacementlong linesbendsoverlapsdrawncompartmentsreferencecrossingslines
layoutlaid outmedian sscorehard rulesreproducibleas loopscofactor hubscrossingsthrough nodesoppositemodifiers besidethroughlongestbendspairsareaspeciesreactionsoutsideoverlappingprocrustesdistancesneighbourscrossingsdensityangleslength dev.angle dev.orthogonal
proj22-rules (pathway-specific)
automatic_layout_following_our_rules 2e8865b
42 / 482.8586.5 (42)82%42 / 4219.5 (20)3.5 (5)3 (42)5.5 (42)3.25 (42)–5 (42)28 (42)17.5 (42)12.2 (42)12.2 (42)37 (42)19 (42)––19 (41)19 (41)8 (41)2.5 (42)2.5 (42)38.5 (1)25 (42)1 (42)7 (42)
small-pathway-layout (pathway-specific)
small-pathway-layout c3f77d8
45 / 480.42583 (45)83%45 / 4519 (27)3 (38)4 (45)5.5 (45)2 (45)–2.5 (45)14 (45)35 (45)12.5 (45)12.5 (45)34.5 (45)19 (45)––16 (42)14.5 (42)7.5 (42)5.5 (45)5 (45)29 (28)19 (45)30 (45)3 (45)
ecmapper-brenda (pathway-specific)
ecmapper a711a72
25 / 485.8767 (25)43%25 / 2520 (22)3 (24)3.5 (25)7 (25)17.5 (23)–2.5 (23)26 (25)36.5 (25)13 (25)13 (25)36.5 (25)37.5 (25)––9.5 (22)13.2 (22)2.25 (22)3.5 (25)2.5 (25)29.5 (18)24.5 (25)36.5 (25)7.5 (25)
ecmapper-brenda-packed (pathway-specific)
ecmapper a711a72
25 / 485.8667 (25)43%25 / 2520 (22)3 (24)3.5 (25)7 (25)17.5 (23)–2.5 (23)25.5 (25)36.5 (25)13 (25)13 (25)36.5 (25)37.5 (25)––9.5 (22)24.2 (22)2.75 (22)3.5 (25)2.5 (25)28.5 (18)24.5 (25)36.5 (25)8 (25)
metacarto (pathway-specific)
MetaCarto v2.0.0
44 / 481.6771.5 (44)43%44 / 4419.8 (26)3 (37)10.2 (44)7 (44)10.8 (44)–2.5 (44)21.5 (44)36 (44)12 (44)12 (44)35 (44)19 (44)––31.5 (38)30.5 (38)22.5 (38)10 (44)5 (44)20.5 (36)19.5 (44)32.5 (44)2 (44)
sbml2map (pathway-specific)
sbml2map cbc0916
40 / 483.8347 (40)43%40 / 4020 (29)3 (34)37 (40)10 (40)37 (40)–37 (40)20 (40)37.5 (40)12 (40)12 (40)35.5 (40)19 (40)––37 (37)37 (37)37 (37)37 (40)34 (40)34 (40)26 (40)36 (40)1 (40)
sbmlnetwork (SBML-specific)
sbmlnetwork 0.5.12
47 / 480.66952 (47)29%0 / 4720 (32)17.8 (40)14 (47)10 (47)25 (47)21.5 (25)24.5 (47)12 (47)17 (47)12.5 (47)12.5 (47)17 (47)19 (47)2 (47)3 (24)26 (42)24.5 (42)20 (42)13 (47)13 (47)7 (41)13 (47)18 (47)22 (47)
cytoscape-fcose-compartments (compartments as groups)
cytoscape 3.33.1, cytoscape-fcose 2.2.0
48 / 480.3666.5 (48)41%48 / 4820 (32)21.2 (40)15.5 (47)13 (47)25 (47)15.5 (25)22 (47)16 (47)17 (47)12.5 (47)12.5 (47)17 (47)19 (47)2 (24)1.5 (24)15 (42)16.2 (42)18.5 (42)14.5 (47)14.5 (47)10 (35)10 (47)18.5 (47)23.5 (47)
cytoscape-cose-bilkent-compartments (compartments as groups)
cytoscape 3.33.1, cytoscape-cose-bilkent 4.1.0
48 / 480.37766.5 (48)33%48 / 4820 (32)21.2 (40)21.5 (47)12 (47)22.5 (47)14.5 (25)23.5 (47)17 (47)17 (47)13 (47)13 (47)17 (47)19 (47)2 (24)1.5 (24)16 (42)16.5 (42)23.8 (42)20 (47)21 (47)14.5 (35)9.5 (47)20 (47)23.5 (47)
reagraph-force-compartments (compartments as groups)
reagraph 4.32.0
48 / 480.78256.5 (48)31%48 / 4820 (32)21.2 (40)32 (47)19 (47)33.5 (47)19.5 (25)35 (47)25 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––31 (42)32 (42)33.5 (42)32 (47)32 (47)13 (47)19 (47)28 (47)25 (47)
cytoscape-fcose (compound-capable force-directed)
cytoscape 3.33.1, cytoscape-fcose 2.2.0
47 / 480.34969 (47)43%47 / 4720 (32)21.2 (40)13 (47)10 (47)21 (47)14 (25)21 (47)6.5 (47)17 (47)13 (47)13 (47)17 (47)19 (47)––16 (42)15.5 (42)17.5 (42)12 (47)12.5 (47)8.5 (31)6 (47)13.5 (47)15.5 (47)
cytoscape-cose-bilkent (compound-capable force-directed)
cytoscape 3.33.1, cytoscape-cose-bilkent 4.1.0
47 / 480.35568 (47)43%47 / 4720 (32)21.2 (40)18 (47)10 (47)18.5 (47)14 (25)21 (47)6.5 (47)17 (47)13 (47)13 (47)17 (47)19 (47)––13.2 (42)13 (42)22.5 (42)18 (47)18.5 (47)10 (35)5.5 (47)16 (47)19.5 (47)
cytoscape-elk-layered (layered)
cytoscape 3.33.1, cytoscape-elk 2.3.0, elkjs 0.9.3
48 / 480.56453 (48)29%48 / 4820 (32)21.2 (40)26 (47)21 (47)26.5 (47)12 (25)8 (47)32 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––21.5 (42)25.5 (42)27 (42)25 (47)24 (47)22 (39)32 (47)23 (47)5 (47)
graphviz-dot (layered)
pygraphviz 2.0.4, Graphviz 14.1.5
47 / 480.02263 (47)33%47 / 4720 (32)21.2 (40)22.5 (47)17 (47)8 (47)21.5 (25)6.5 (47)32 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––13 (42)13 (42)15.5 (42)21 (47)22 (47)21 (34)30 (47)21 (47)15 (47)
cytoscape-dagre (layered)
cytoscape 3.33.1, cytoscape-dagre 2.5.0
47 / 480.37250 (47)29%47 / 4720 (32)21.2 (40)29 (47)17 (47)23.5 (47)14 (25)10 (47)32 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––19.5 (42)20 (42)25.5 (42)28 (47)28 (47)26 (41)32 (47)24 (47)16 (47)
cytoscape-klay (layered)
cytoscape 3.33.1, cytoscape-klay 3.1.4
48 / 480.40754.5 (48)29%48 / 4820.2 (32)21.2 (40)25 (47)21.5 (47)10.5 (47)31 (25)6 (47)29 (47)17 (47)14 (47)14 (47)17 (47)19 (47)––22 (42)26 (42)23 (42)24 (47)25.5 (47)19 (38)29 (47)30 (47)8 (47)
igraph-sugiyama (layered)
igraph 1.0.0
48 / 480.01549 (48)33%48 / 4820.2 (32)21.2 (40)34 (47)–27 (47)22 (25)11 (47)31 (47)17 (47)––17 (47)19 (47)––31 (42)33 (42)34 (42)34 (47)34 (47)24.5 (44)34 (47)30 (47)7 (47)
graphviz-neato (stress)
pygraphviz 2.0.4, Graphviz 14.1.5
48 / 480.028570.5 (48)46%48 / 4820 (32)21.2 (40)11.5 (47)9.5 (47)18 (47)9.5 (25)16.5 (47)3 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––12.5 (42)10 (42)11 (42)10.5 (47)10.5 (47)7 (27)3 (47)9 (47)25 (47)
cytoscape-elk-stress (stress)
cytoscape 3.33.1, cytoscape-elk 2.3.0, elkjs 0.9.3
47 / 480.80563 (47)43%47 / 4720 (32)21.2 (40)13 (47)13 (47)18 (47)9.5 (25)20 (47)4 (47)17 (47)13.5 (47)13.5 (47)17 (47)19 (47)––12 (42)11 (42)10 (42)12 (47)12.5 (47)8 (31)3 (47)9 (47)27 (47)
cytoscape-cola (stress, with constraints)
cytoscape 3.33.1, cytoscape-cola 2.5.1
45 / 481.270 (45)43%45 / 4520 (30)21.5 (39)13.5 (45)10 (45)16.5 (45)12.5 (25)20 (45)13 (45)17.5 (45)12 (45)12 (45)17 (45)19 (45)––12 (42)10.5 (42)10.8 (42)12.5 (45)12.5 (45)9.5 (28)9 (45)5 (45)27 (45)
networkx-kamada_kawai (stress)
networkx 3.7
47 / 480.05565 (47)40%44 / 4720 (32)21.2 (40)11 (47)–18 (47)7 (25)20 (47)3 (47)17 (47)––17 (47)19 (47)––15 (42)8.5 (42)10.8 (42)11.5 (47)12 (47)12 (27)3 (47)9 (47)25 (47)
igraph-kk (stress)
igraph 1.0.0
48 / 480.01565.5 (48)40%48 / 4820 (32)21.2 (40)13 (47)–18 (47)7 (25)18.5 (47)3 (47)17 (47)––17 (47)19 (47)––12.5 (42)8 (42)10.2 (42)11 (47)12 (47)9.5 (30)3 (47)10 (47)24 (47)
graphviz-sfdp (force-directed)
pygraphviz 2.0.4, Graphviz 14.1.5
48 / 480.02869 (48)43%48 / 4820 (32)21.2 (40)10 (47)8 (47)8.5 (47)14.5 (25)18.5 (47)12 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––12 (42)9 (42)10.5 (42)9 (47)10 (47)10 (31)13 (47)8 (47)23 (47)
graphviz-fdp (force-directed)
pygraphviz 2.0.4, Graphviz 14.1.5
48 / 480.080559.5 (48)33%48 / 4820 (32)21.2 (40)26 (47)10.5 (47)25.5 (47)16.5 (25)25.5 (47)16 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––24.5 (42)26.5 (42)28.5 (42)24.5 (47)25 (47)7 (43)17 (47)19 (47)24 (47)
igraph-fr (force-directed)
igraph 1.0.0
48 / 480.01666.5 (48)50%48 / 4819.2 (32)21.2 (40)10.5 (47)–9 (47)21.5 (25)22.5 (47)15 (47)17 (47)––17 (47)19 (47)––11.5 (42)9.5 (42)9.25 (42)10 (47)10.5 (47)11 (31)17 (47)12 (47)19 (47)
networkx-spring (force-directed)
networkx 3.7
48 / 480.02164.5 (48)40%48 / 4820 (32)21.2 (40)17 (47)–11 (47)19.5 (25)20 (47)14 (47)17 (47)––17 (47)19 (47)––22.5 (42)20.5 (42)18 (42)16.5 (47)17 (47)16.5 (36)15 (47)17 (47)27 (47)
cytoscape-cose (force-directed)
cytoscape 3.33.1
48 / 480.3863.5 (48)43%48 / 4820 (32)21.2 (40)21 (47)13 (47)11 (47)13 (25)19.5 (47)10 (47)17 (47)24 (47)23 (47)17 (47)19 (47)––18.5 (42)20.5 (42)24.5 (42)20 (47)21 (47)15.5 (40)11 (47)20 (47)20 (47)
cytoscape-elk-force (force-directed)
cytoscape 3.33.1, cytoscape-elk 2.3.0, elkjs 0.9.3
47 / 480.76550 (47)33%47 / 4720 (32)21.2 (40)36 (47)23 (47)24 (47)22 (25)30 (47)17 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––34 (42)36 (42)36.2 (42)35 (47)36 (47)16 (47)21 (47)34 (47)27 (47)
graphology-forceatlas2 (force-directed)
graphology 0.26.0, graphology-layout-forceatlas2 0.10.1
48 / 480.73670.5 (48)50%48 / 4820 (32)21.2 (40)8 (47)–18 (47)18 (25)19.5 (47)23 (47)17 (47)––17 (47)19 (47)––10.5 (42)9 (42)6 (42)7 (47)7.5 (47)5 (33)23 (47)4 (47)25 (47)
graphology-forceatlas2-noverlap (force-directed)
graphology 0.26.0, graphology-layout-forceatlas2 0.10.1, graphology-layout-noverlap 0.4.2
48 / 480.77847 (48)29%48 / 4820 (32)21.2 (40)31 (47)26 (47)36 (47)21.5 (25)35.5 (47)24 (47)17 (47)26 (47)26 (47)17 (47)19 (47)––24 (42)27.5 (42)34 (42)30.5 (47)31 (47)16 (46)26 (47)35 (47)24 (47)
reagraph-force (force-directed)
reagraph 4.32.0
48 / 480.77865.5 (48)43%48 / 4820 (32)21.2 (40)17 (47)9 (47)20 (47)14.5 (25)23 (47)19 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––24 (42)23 (42)17.5 (42)15.5 (47)15.5 (47)6 (39)17 (47)11 (47)26 (47)
igraph-graphopt (force-directed)
igraph 1.0.0
48 / 480.01861 (48)40%48 / 4820 (32)21.2 (40)22.5 (47)–16.5 (47)16 (25)19.5 (47)20 (47)17 (47)––17 (47)19 (47)––24.5 (42)24 (42)21.5 (42)21 (47)22 (47)9 (41)18 (47)11 (47)25 (47)
igraph-drl (for large graphs)
igraph 1.0.0
48 / 480.59363 (48)40%48 / 4820 (32)21.2 (40)15 (47)–17.5 (47)28 (25)26.5 (47)29 (47)17 (47)––17 (47)19 (47)––11 (42)16 (42)16 (42)15 (47)15 (47)24 (34)31 (47)22 (47)31 (47)
igraph-lgl (for large graphs)
igraph 1.0.0
48 / 480.018562 (48)40%48 / 4820 (32)21.2 (40)20.5 (47)–18 (47)12.5 (25)24.5 (47)10 (47)17 (47)––17 (47)19 (47)––18 (42)16 (42)23 (42)19 (47)19 (47)9 (40)9 (47)15 (47)26 (47)
graphviz-twopi (radial)
pygraphviz 2.0.4, Graphviz 14.1.5
48 / 480.01849.5 (48)31%48 / 4820 (32)21.2 (40)30 (47)15.5 (47)30 (47)12.5 (25)24.5 (47)31 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––27 (42)24.5 (42)28.2 (42)29 (47)29.5 (47)18 (39)32 (47)24 (47)24 (47)
graphviz-circo (circular)
pygraphviz 2.0.4, Graphviz 14.1.5
45 / 480.03151 (45)33%45 / 4520 (30)21.5 (39)26 (45)11 (45)33 (45)9.5 (25)22.5 (45)36 (45)17.5 (45)12 (45)12 (45)17 (45)19 (45)––26.5 (42)25.5 (42)20.5 (42)25 (45)25 (45)28 (36)37 (45)17 (45)20 (45)
cytoscape-elk-mrtree (tree)
cytoscape 3.33.1, cytoscape-elk 2.3.0, elkjs 0.9.3
47 / 480.49644 (47)29%47 / 4720.2 (32)21.2 (40)35 (47)26 (47)24.5 (47)17 (25)9.5 (47)36 (47)17 (47)12 (47)12 (47)17 (47)19 (47)––33.5 (42)31 (42)30 (42)35 (47)35 (47)25 (47)36 (47)29 (47)8 (47)
igraph-mds (baseline)
igraph 1.0.0
48 / 480.01361.5 (48)33%48 / 4820 (32)21.2 (40)15.5 (47)–26.5 (47)24 (25)30 (47)17 (47)17 (47)––17 (47)19 (47)––10 (42)10 (42)15.2 (42)31.5 (47)31.5 (47)32 (46)18 (47)29 (47)16 (47)
networkx-spectral (baseline)
networkx 3.7
47 / 480.01669 (47)50%45 / 4820 (32)21.2 (40)13.5 (47)–6.5 (47)28 (25)25.5 (47)31 (47)17 (47)––17 (47)19 (47)––18.5 (42)19.5 (42)16.8 (42)29.5 (47)29.5 (47)32 (45)33 (47)27 (47)16 (47)

The metrics

Every metric is taken on the drawing as shown, in the tool's own coordinates: clones are nodes, nodes a tool leaves out are absent, routed edges are the polylines drawn. General graph-drawing metrics come from gdMetriX; the pathway-map metrics follow the layout rules of BioHackathon Europe 2026 project 22 (Open Pathway Maps), as its pathway layout scorer and automatic_layout_following_our_rules define them, computed by this benchmark (raw values, no thresholds), next to a few checks of this benchmark's own; the comparison with the reference is this benchmark's.

metricsourcewhat it measureshow it is calculatedbetter
score (scorer; scorer_overall)project 22's pathway layout scorer: its thresholds and weights, on this benchmark's rule valuesthe pathway layout scorer's combined score of the layout rules (0-100)as the project's pathway layout scorer (core.js at c1f2ef7) scores: each rule 0-100 from its value, linear between the scorer's pass (100) and fail (0) values, or a band; the score is the weighted mean over the rules that apply (hard rules weight 2, soft 1). The values are this benchmark's (where its definition of a rule differs from the scorer's, the score follows ours); a rule without a value doesn't apply (labels at fixed positions never: our renderer places the labels). Rules: reproducible (hard; 1 at 0, 0 at 1); cycles look like cycles (hard; 1 at 1, 0 at 0.5); cofactors drawn as clones (hard; 1 at 0, 0 at 3); no crossings (hard; 1 at 0.02, 0 at 0.3); consistent participant placement (hard; 1 at 0.8, 0 at 0.5); no line through a node (hard; 1 at 0, 0 at 5); aspect ratio (hard; 1 in 0.5-2, 0 at 0.25 and 4 (log scale)); avoid long lines (soft; 1 at 6, 0 at 15); avoid bends (soft; 1 at 0.5, 0 at 2); density (soft; 1 in 0.05-0.3, 0 at 0.02 and 0.5); no overlapping nodes (soft; 1 at 0, 0 at 5). Summary: the median over the models a layout drew (failed runs left out)higher
hard rules (scorer; scorer_hard)project 22's pathway layout scorer: its thresholds and weights, on this benchmark's rule valuesthe hard rules the scorer passes / the hard rules that applya hard rule passes where its score is 100 (as the scorer: its value at or beyond the pass value). Summary: the median share passed over the models a layout drewhigher
reproducible (reproducible; reproducible)layout rule of BioHackathon 2026 project 22, computed by this benchmarkthe same drawing twice from one seed (hard rule)the layout run twice on the model with the same seed, each run in its own process, and the drawn nodes compared in the tool's own coordinates (`layout-benchmark reproducibility`): exact (the same coordinates), congruent (the same drawing moved, scaled, turned or mirrored; mirrored: a cycle the other way round) or differs; shown where the check has been run. Summary: the models reproduced (exact or congruent, not mirrored) / the models compared– (not ranked)
cycles (cycles; rule_cycles)layout rule of BioHackathon 2026 project 22, computed by this benchmarkmetabolite cycles found (hard rule: cycles look like cycles)the main metabolite cycles: simple cycles of 3-16 metabolites (at most 20000) through main steps (a reaction's input to its output), cofactors (scorer's list, as core.js) and Escher's secondary metabolites left out; repeatedly the longest drawn as a closed loop (if at least half as long as the longest left), else the longest, then every cycle sharing a metabolite with it set aside (as both implementations)– (not ranked)
as loops (cycles; rule_cycles_closed)layout rule of BioHackathon 2026 project 22, computed by this benchmarkcycles look like cycles (hard rule)the share of main cycles drawn as a closed loop in cycle order: the metabolites and each step's reaction node in order wind once around their centre in one direction, without crossing themselves or folding inwards (a circle, stadium or rounded rectangle all pass; as both implementations)higher
cofactor hubs (cofactors; rule_cofactor_hubs)layout rule of BioHackathon 2026 project 22, computed by this benchmarkcofactors drawn as clones (hard rule)cofactors (the scorer's list of names, matched on name or id) drawn once but linked to more than one reaction (as both implementations); empty without cofactorslower
crossings (crossing; rule_crossings_per_line)layout rule of BioHackathon 2026 project 22, computed by this benchmarkno crossings (hard rule)proper crossings between the straight pieces of drawn lines, skipping two lines that share an end node, / the drawn lines (as both implementations, neither with a size limit)lower
through nodes (through; rule_lines_through_nodes)layout rule of BioHackathon 2026 project 22, computed by this benchmarkno line through a node (hard rule)(line, species) pairs where a drawn line passes through the inside of a species node it doesn't connect, at the tool's own node sizes and shapes; reaction nodes left out (as core.js; svg_layout_metrics.py counts them); the exact shape (both implementations shrink it by 2 px first; ours: rules.THROUGH_SHRINK, a share of the node, 0); empty without node sizeslower
opposite (placement; rule_opposite_share)layout rule of BioHackathon 2026 project 22, computed by this benchmarkconsistent participant placement (hard rule)the share of drawn reactions with an input and an output whose inputs' centre and outputs' centre, seen from the reaction node, are at least 120 degrees apart (as both implementations)higher
modifiers beside (placement; rule_modifiers_beside)layout rule of BioHackathon 2026 project 22, computed by this benchmarkmodifiers beside their reaction (hard rule)the share of modifier nodes 60-120 degrees from their reaction's flow (outputs' centre minus inputs' centre), seen from the reaction node (as both implementations)higher
through (placement; participant_consistency)this benchmark: pathway mapsreactants and products on opposite sides of their reactionover every drawn reaction, each (reactant, product) pair: whether the first pieces of their edges at the reaction node point to opposite sides (more than 90 degrees apart); the share of such pairs. A reaction drawn as a corner scores 0higher
aspect (aspect; rule_aspect)layout rule of BioHackathon 2026 project 22, computed by this benchmarkwidth / height (hard rule: aspect ratio, target 0.5-2)width / height of the drawn nodes' extent (their shapes at own sizes, else their centres); compartment boxes left out (as svg_layout_metrics.py; core.js includes them)– (not ranked)
longest (long lines; rule_longest_over_median)layout rule of BioHackathon 2026 project 22, computed by this benchmarkavoid long lines (soft rule)the longest drawn line (along its route) / the median drawn line (as both implementations). A line is a participant's whole line to its reaction (core.js takes each Escher segment as a line)lower
bends (bends; rule_bends_per_line)layout rule of BioHackathon 2026 project 22, computed by this benchmarkavoid bends (soft rule)route points where a drawn line turns by more than 25 degrees, per drawn line (as svg_layout_metrics.py; core.js counts every stored bend point, and none on Escher's curves). Escher's lines are read as straight pieces between their markers, so a curve through a marker counts as a bend therelower
density (density; rule_density)layout rule of BioHackathon 2026 project 22, computed by this benchmarknode area / extent (soft rule: density, target 5-30%)the drawn nodes' area at the tool's own sizes and shapes / the area of their extent (compartment boxes left out, as svg_layout_metrics.py); empty without node sizes– (not ranked)
pairs (overlaps; overlapping_pairs)this benchmark: pathway mapsnodes don't overlap (soft rule)pairs of drawn nodes whose shapes intersect with a positive area (touching isn't overlapping), every node at the tool's own size and shape (the box Graphviz and cytoscape.js are given, Escher's circles, SBMLNetwork's and the reference's glyphs); empty where the tool has no node sizes (igraph, networkx). Also the project's rule "no overlapping nodes" (core.js's test: any overlap counts; svg_layout_metrics.py allows 1 px and skips a node inside another)lower
area (overlaps; overlap_area_share)this benchmark: pathway mapshow much nodes overlapthe summed intersection area of the overlapping pairs / the summed area of all drawn nodes, at the tool's own sizeslower
species (drawn; species_drawn)this benchmark: pathway mapsthe whole model is drawn: its speciesthe model's species with at least one drawn node / the model's specieshigher
reactions (drawn; reactions_drawn)this benchmark: pathway mapsthe whole model is drawn: its reactionsthe model's reactions with a drawn node / the model's reactionshigher
per node (drawn; drawn_per_node)this benchmark: pathway mapsclones: nodes drawn more than oncedrawn nodes (each clone counted) / the model nodes drawn; above 1 where species or reactions are drawn more than once– (not ranked)
outside (compartments; species_outside_compartment)this benchmark: pathway mapsspecies inside their compartmentdrawn species whose centre is outside the box of their own compartment / drawn species whose compartment has a box; only where the tool draws compartment boxeslower
overlapping (compartments; compartments_overlapping)this benchmark: pathway mapscompartments nested, not overlappingpairs of compartment boxes that intersect without one holding the other / all pairs of boxes; only where the tool draws compartment boxeslower
procrustes (reference; procrustes)this benchmark: comparison with the referencethe same shape as the referenceProcrustes disparity (scipy) between the layout's and the reference's positions of the model nodes both draw (one position per node), after translation, scaling, rotation and mirroring; 0: the same shapelower
distances (reference; distance_correlation)this benchmark: comparison with the referencenear and far as in the referenceSpearman rank correlation between all pairwise node distances in the layout and in the referencehigher
neighbours (reference; knn_preservation)this benchmark: comparison with the referencethe same neighbours as in the referencefor each node, the share of its 5 nearest neighbours that are among its 5 nearest in the reference; the meanhigher
nodes (reference; reference_nodes)this benchmark: comparison with the referencehow much of the model the comparison coversthe model nodes placed in both the layout and the reference– (not ranked)
crossings (crossings; crossings)gdMetriXedge crossingsnumber_of_crossings on the drawn edge pieces (every straight piece of every drawn edge, route bends included; a piece several edges share counted once); where more than two pieces cross in a point, each pair countslower
density (crossings; crossing_density)gdMetriXcrossings against how many there could becrossing_density: 1 - crossings / Purchase's estimate of the most crossings possible (pairs of pieces that don't share an end)higher
angles (crossings; crossing_angular_resolution)gdMetriXedges cross at large angles (near 90 degrees)crossing_angular_resolution: 1 - the mean over crossings of |optimal - smallest angle| / optimal, the optimal angle being 180 degrees / the number of crossing pieces (90 for two); empty without crossingshigher
length dev. (lines; edge_length_deviation)gdMetriX's definition, computed by this benchmarkedges of even lengthPurchase's edge length deviation (gdMetriX's edge_length_deviation): the mean over drawn edges of |mean length - length| / mean length, each length measured along the drawn polylinelower
angle dev. (lines; angular_resolution)gdMetriXedges spread evenly around their nodesangular_resolution (Purchase): the mean over nodes with two or more edges of |optimal - smallest angle| / optimal, optimal = 360 degrees / degree; the angles are those between the edges' first pieces at the nodelower
orthogonal (lines; edge_orthogonality)gdMetriXhorizontal and vertical linesedge_orthogonality (Purchase): 1 - the mean deviation of the drawn edge pieces (every straight piece of every drawn edge, route bends included; a piece several edges share counted once) from the nearest horizontal or vertical direction (1: all axis-parallel)higher
aspect (shape; aspect_ratio)gdMetriXhow square the drawing isaspect_ratio: the shorter side / the longer side of the bounding box of the node centres (1: square)– (not ranked)
homogeneity (shape; homogeneity)gdMetriXnodes spread evenly over the drawinghomogeneity (Taylor and Rodgers): from the numbers of nodes in the four quadrants of the bounding box, against an even split– (not ranked)
flow (shape; coherence_to_average_flow)gdMetriXedges flowing in one main directioncoherence_to_average_flow: the share of drawn edges (start to end, from substrate to reaction to product) that point along the average edge direction (positive dot product with the mean unit edge vector)– (not ranked)
symmetry (shape; visual_symmetry)gdMetriXvisual symmetryvisual_symmetry: the drawing of the edge pieces rasterised and blurred, compared with its reflections and rotations; left out above 300 nodes (too slow)– (not ranked)