gedcom-d3

2.0.7 • Public • Published

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) -> JSON
  • d3ize(parse(string)); -> d3-capable JSON
import gedcomFile from './gedcoms/sample_ancestors.ged';

const d3Data = d3ize(parse(gedcomFile)); // Feed d3Data into 3d-force-graph

Dependents (0)

Package Sidebar

Install

npm i gedcom-d3

Weekly Downloads

1

Version

2.0.7

License

ISC

Unpacked Size

20.4 kB

Total Files

6

Last publish

Collaborators

  • gaijinbrandybuck