feat(stammbaum): bloodline-contiguous tidy-tree layout (replace per-generation packer) (#724) #725

Merged
marcel merged 24 commits from feat/issue-724-tidy-tree-layout into main 2026-06-04 14:55:12 +02:00
Showing only changes of commit 2221bb0faf - Show all commits

View File

@@ -306,6 +306,11 @@ describe('buildLayout — multi-spouse ordering (#361)', () => {
if (p.y !== posA2.y) continue;
expect(p.x <= minX || p.x >= maxX).toBe(true);
}
// Same-level bond (both parents are roots): the displaced parent edge
// can be ordered adjacent, so it stays a solid connector — NOT a dashed
// cross-link. The cross-link set is therefore empty for this case.
expect(layout.crossLinks).toEqual([]);
});
it('canonical_fixture_multi_spouse_falls_through_to_displayName_when_no_fromYear', () => {