Problem to create family tree

Hi community,!

A few days ago i was implementing a diagram tree on laravel. But today i saw an error, the problem is that a person with wife cannot have parents.

It’s a bug of software or has a solution??

Thanks in Advance.

2022-03-08_13-32

This is the template: https://snippet.dhtmlx.com/5pfybpmz?mode=wide&text=org