三代家谱. Copy the source, paste into the official playground, done. No coordinates — every position is stated relative to something else.
node gf "爷爷"
node gm "奶奶" right of gf
node f "父亲" below gf
node m "母亲" right of f
node me "我" below f
node s "妹妹" below m
edge gf -> f
edge gm -> f
edge f -> me
edge f -> s
edge m -> menpx reladraw family-tree.reladraw -o out.svgA three-generation family tree: grandparents, parents, and two siblings. Use it for genealogy projects, or as the base for character maps in fiction writing — as text it diffs cleanly and grows one line per person.
node c1 "女儿" below me and edge me -> c1.edge f -> m "married" — labels carry family conventions like m. 1998.node gf "爷爷 (第一代)" — keeps big trees oriented.Yes — one node per person, parent-to-child edges, generations stacked top to bottom. Spouses sit beside each other on the same row, like the grandparents in this template.
Label the parent edge (divorced) and add the second partner node with their own child edges. Text labels carry the nuance that strict genealogy software often hides.
Around 30–40 people per diagram stays readable. Beyond that, split by generation or branch — anchor each split diagram to a named ancestor and cross-reference in the labels.