generate_pedigree
Create family pedigree diagrams in PNG or SVG format using Bennett 2008 genetic notation standards to visualize family relationships, medical conditions, and genetic test results.
Instructions
Generates a pedigree tree (Bennett 2008 standard) in PNG or SVG format. IMPORTANT: Use mother/father for ALL individuals with known parents - siblings share same parents. Only use top_level:true for founders with NO known parents.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | Yes | Array of family members in pedigreejs format | |
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| symbol_size | No | Size of individual symbols | |
| background | No | Background color | #ffffff |
| labels | No | Which demographics to show: age, yob, or both. Condition and gene test labels are always shown automatically. | |
| format | No | Output format: png (base64 image, default) or svg (XML text) | png |