BALKANGraph / FamilyTreeJS

Build family tree app with BALKAN FamilyTreeJS library. Family Tree also called a genealogy or a pedigree chart, is a chart representing family relationships in a conventional tree structure.
60 stars 17 forks source link

nodo hijo de padres no relacionados #147

Open sdr71 opened 3 weeks ago

sdr71 commented 3 weeks ago

como puedo graficar un nodo hijo donde sus padres no están relacionados entre si. ejemplo

var family = new FamilyTree('#tree', { nodeBinding: { field_0: "name" }, nodes: [ { id: 1, name: "padre" }, { id: 2, name: "madre", }, { id: 3, name: "hijo", fid:1, mid:2}

]

});

ZornitsaPesheva commented 3 weeks ago

Here is a code example: https://code.balkan.app/familytree-js/custom-css-for-some-links