topola
TypeScript icon, indicating that this package has built-in type declarations

3.6.2 • Public • Published

Topola – online genealogy visualization

npm Node.js CI

Topola is a Typescript/Javascript library for embedding genealogy tree visualizations on web pags. The library uses D3 under the hood for rendering SVG images.

Available chart types:

  • Ancestors
  • Descendants
  • Hourglass chart (both ancestors and descendants)
  • Relatives chart (descendants, ancestors and descendants of ancestors), based on the All-in-one report in GenealogyJ
  • Fancy chart, inspired by https://imgur.com/a/T02Kc7X

Examples

Open the StackBlitz examples to play around with the code.

Basic usage: StackBlitz

Using GEDCOM content: StackBlitz

Displaying more data: StackBlitz

Animations: StackBlitz

Demo

Have a look at the demo page to see the current visualization possibilities.

Try it with your own GEDCOM file: https://pewu.github.io/topola/upload

Topola Genealogy Viewer is a complete web application build around this library. It can also be used as a Webtrees addon.

Running

To run the demo, run these commands:

npm install
npm start

Future

The aim of this project is to create a feature-rich library for creating interactive genealogy visualizations for the Web.

Package Sidebar

Install

npm i topola

Weekly Downloads

31

Version

3.6.2

License

Apache 2.0

Unpacked Size

185 kB

Total Files

52

Last publish

Collaborators

  • pewu