gedcom-d3
v2.0.7
Published
A GEDCOM parser, which translates GEDCOM (.ged) files into D3 capable JSON. This package is specifically designed to prepare data for use in https://github.com/mister-blanket/kin-cloud
Downloads
11
Maintainers
Readme
gedcom-d3
Based on tmcw/parse-gedcom, this project seeks to improve d3ize functionality to make Gedom data in more fully-functional d3 capable JSON, specifically for use in plotting with vasturiano/3d-force-graph.
View an implementation at mister-blanket/blood-lines
Usage
npm install --save gedcom-d3
API
.parse(string)
-> JSONd3ize(parse(string));
-> d3-capable JSON
import gedcomFile from './gedcoms/sample_ancestors.ged';
const d3Data = d3ize(parse(gedcomFile)); // Feed d3Data into 3d-force-graph