Kingraph
Plots family trees using JavaScript and Graphviz
Install / Use
/learn @rstacruz/KingraphREADME
kingraph
👪 Plots family trees using JavaScript and Graphviz
A family tree plotter with a very simple syntax. It probably doesn't cover everything bigger tools do, but covers 90% of it for the sake of simplicity.

Installation
npm install -g rstacruz/kingraph
# or
yarn global add rstacruz/kingraph # via yarnpkg.com
This adds the kingraph command to your shell.
kingraph --help
kingraph family.yml > family.svg
Examples
Spoiler alerts, view at your own risk :)
<details> <summary><b>Simpsons</b> (simple)</summary>Source: simpsons.yml
</details> <details> <summary><b>Modern Family</b> (simple with houses)</summary>
Source: modernfamily.yml
</details> <details> <summary><b>Harry Potter</b> (larger tree)</summary>
Source: potter.yml
</details> <details> <summary><b>Game of Thrones</b> (overly complicated)</summary>
Source: got.yml
</details>
Getting started
A family tree is a YAML file.
families:
- parents: [Marge, Homer]
children: [Bart, Lisa, Maggie]
- parents: [Lisa, Milhouse]
children: [Zia]
people:
Marge:
fullname: Marjorie Bouvier Simpson
kingraph can give you svg (default), png or dot files.
kingraph family.yml > family.svg
kingraph family.yml -F png > family.png
kingraph family.yml -F dot > family.dot
See Getting started for more!
Documentation
For further reading:
Thanks
kingraph © 2016+, Rico Sta. Cruz. Released under the MIT License.<br> Authored and maintained by Rico Sta. Cruz with help from contributors (list).
ricostacruz.com · GitHub @rstacruz · Twitter @rstacruz
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR




