The bottom Y point of the node.
let bottom = node.bottom;
Node children ids
let children = node.children;
Collpased children ids
let collapsedChildren = node.collapsedChildren;
The collpased parens of the node
let collapsedParents = node.collapsedParents;
Collpased siblings ids
let collapsedSiblings = node.collapsedSiblings;
Collpased spouses ids
let collapsedSpouses = node.collapsedSpouses;
The HTML element of the node
let element = node.element;
The family tree data of the node
let familyMember = node.familyMember;
Node father id
let fatherId = node.fatherId;
The height of the node.
let height = node.height;
The id of the node
let id = node.id;
True if it is step parent
let isStepParent = node.isStepParent;
True if it is unmarried partner
let isUnmarriedPartner = node.isUnmarriedPartner;
The left X point of the node.
let left = node.left;
The node level
let level = node.level;
Link position in order the link to not overlap
let linkToChildrenIndex = node.linkToChildrenIndex;
Link position in order the link to not overlap
let linkToParentsIndex = node.linkToParentsIndex;
Node mother id
let motherId = node.motherId;
Node parents
let parents = node.parents;
The relationship type of the node
let relationshipType = node.relationshipType;
The right X point of the node.
let right = node.right;
True if the node is selected
let selected = node.selected;
Node siblings ids
let siblings = node.siblings;
Node spouses ids
let spouses = node.spouses;
The stroke color of the node
let stroke = node.stroke;
The stroke width of the node
let strokeWidth = node.strokeWidth;
The template id of the node (depending on the relationship type)
let templateId = node.templateId;
The top Y point of the node.
let top = node.top;
The width of the node.
let width = node.width;
Generated using TypeDoc
The Node object.
Basic usage:
Full example: