Family Tree Data Expression Engine
MIT License
Family Tree Data Expression Engine
See a live demo at http://www.bengarvey.com/lineage (still an older version)
Clone this repo
git clone [email protected]:bengarvey/lineage.git
cd lineage
python3 -m http.server 8000
Click http://localhost:8000
You can run this locally by running python3 -m http.server 8000
from a terminal or running the following commands
npm install
npm install connect
npm install serve-static
And then every time after that running node server.js
All configuration is done in the config.json
file.
This is what its keys do:
data
: Points to the JSON file containing your data. By default, it points to the example file located at data/familyData.json
.
startYear
: Start year of the timeline.
endYear
: End year of the timeline.
speed
: Defines how many milliseconds one year takes when you hit the "Play" button. The default value is 100, meaning 10 years pass per second (100ms = 1/10th of a second).
menuDefaultOpen
: If set to true
, the menu is instantly opened when the web view is loaded. The default is true
.
debug
: This key does not affect the observable behavior of lineage and only affects the background logging.
showDead
: If set to false
, only people alive at the time of the currently active year are shown in the graphs. If set to true
, everyone born by this time (regardless of death date) is shown.
filter
: In the web view's menu bar, you can filter for specific names using the provided input field. This key allows you to set an initial filter that will be active when the web view is freshly loaded.
node script/famgen.js > data/familyData.json