Files
WebtreesFullDiagram/resources/js/modules/custom/configuration.js
Alexander Bocken 273e398431 Initial commit: webtrees full diagram chart module
Interactive SVG family tree visualization using ELK (Sugiyama) for
layout and D3 for rendering. Shows ancestors, descendants, and siblings
in a single diagram with orthogonal bus-line connectors.

Features:
- Bidirectional tree traversal (ancestors + descendants + siblings)
- Generation-aligned layout with post-processing Y-snap
- Person cards with photos, names, dates, and hover bio cards
- "More ancestors" indicator for persons with hidden parents
- Pan/zoom navigation
- Docker dev environment
2026-03-14 18:52:17 +01:00

15 lines
332 B
JavaScript

/**
* Chart configuration defaults.
*/
export default class Configuration {
constructor() {
this.cardWidth = 200;
this.cardHeight = 80;
this.cardPadding = 10;
this.horizontalSpacing = 30;
this.verticalSpacing = 40;
this.siblingSpacing = 30;
this.duration = 500;
}
}