parse-gedcom
Version:
a simple and readable gedcom parser
11 lines (10 loc) • 322 B
TypeScript
import { Parent } from "unist";
/**
* Transforms a GEDCOM AST - likely produced using
* `parse` - into a [Graphviz DOT](https://graphviz.org/doc/info/lang.html)
* language file.
*
* @param root - Parsed GEDCOM content
* @returns DOT-formatted graph
*/
export declare function toDot(root: Parent): string;