Skip to content

Instantly share code, notes, and snippets.

@rentheroot
rentheroot / extractor.py
Last active January 28, 2025 17:35
GRAMPS JSON Shared Event Graph
"""
Make a dot file from Gramps JSON export based on shared events
A little hacky but works
To convert to graphml -> 'gv2gml out.gv -o out.gml'
"""
import json
import graphviz
# Read json file