171 questions
0
votes
0
answers
42
views
D3 Js tree freezes/ crashes with 4000 nodes
Im not very familiar with the d3 library, but I've been playing around with this family tree repo on react which utilizes the tree visualization and customizes it to work with family trees, and it ...
0
votes
1
answer
92
views
custom editUI in balkan famiily tree
I'm using Balkan's family tree library in nextjs project.
So far the application is working fine with rendering the tree. However, I want to customize the editUI that opens when a node clicks.
I want ...
1
vote
1
answer
419
views
Balkan family tree JS: how to show all element of the chart
I have a tree - https://codepen.io/igor-isaev/pen/XWLGVWM
//JavaScript
var options = getOptions();
var chart = new FamilyTree(document.getElementById("tree"), {
mouseScrool: FamilyTree....
1
vote
1
answer
230
views
How to setup BALKAN FamilyTreeJS in NextJS 14
I'm trying to integrate the @balkangraph/familytree.js package into my Next.js (App router, v14) project, but I'm encountering several issues with my configuration (following the docs).
Specifically, ...
1
vote
1
answer
184
views
Question about hierarchy in Balkan FamilyTree JS
I am absolutely new in Balkan FamilyTree JS.
I have a simple script https://codepen.io/igor-isaev/pen/XWLGVWM where top level the King and the Queen at top level are located. But I want to add another ...
0
votes
1
answer
75
views
Creating a family tree with fastAPI
I have been trying to get fastAPI to return recursive family tree without any success.
class DBPerson(Base):
__tablename__ = 'person'
id = Column(Integer, primary_key=True)
name = Column(...
0
votes
0
answers
20
views
How to add button and database connectivity in rectjs
I am creating a family tree using Reactjs and i am build a familytree and the problem is how too add buttons in round circle and image is store displayed in round circle and that image stores in ...
2
votes
0
answers
236
views
Family tree from a pedigree file
I have a pedigree file that looks like this:
FAMID
ID
MO
FA
SEX
AGE
BIRTH
F0001
C1
2
32
C2
1
34
C3
C1
C2
1
12
F0002
C4
2
44
C5
C4
Q1
1
13
C6
C4
Q1
1
12
Q1
1
Similar to this i have 100 F ID's and I ...
1
vote
0
answers
115
views
d3 family tree node and link dynamic positioning
I want family tree app like Balkan family tree with d3.js. And I stuck the node and link dynamic positioning. Sorry my english. I need helped with this.
App Code:
let persons;
let drawed = [];
fetch(&...
0
votes
1
answer
521
views
Balkan's FamilyTreeJS: save and load
Im trying to make an app that saves and reads teh familytree data automatically, so the familytree is the same anywhere youa access it. But I can't find a way to do that in plain js, according to ...
2
votes
1
answer
388
views
Expanding the graph in Balkan FamilyTree Js library
Can you tell me if there is any possibility of showing full family tree without collapsing the part of family nodes? I want to see the full tree without hidden nodes,
enter image description here
I ...
1
vote
1
answer
54
views
position the edges in the middle
I am very new to Graphviz and trying to create an family tree. I have written this DOT format for my experimentation purposes.
digraph {
graph [splines=ortho]
edge [dir=none]
a [label="a&...
0
votes
0
answers
58
views
Writing a complex MySQL query for a Spring Boot application
I am currently building a web ap[ using Spring Boot to display family tree data (similar to Ancestry.com). However, I ran into a problem with the actual display of the data. The way I store the family ...
1
vote
0
answers
307
views
Curved lines in Graph view flutter
How do I achieve curved lines for connecting nodes in graphite or graph view? Like mind map curves I mentioned the image below but I want to implement the curved arrows in graphite.
0
votes
0
answers
537
views
How to create family tree in flutter?
The graphview is perfect but the problem is I want the parent node to be in center and add nodes respectivly to right and left of the parent node.how to do it
I want to create a family tree in flutter ...
2
votes
1
answer
174
views
Partners on same rank in family tree using Python and Graphviz
I am trying to create a family tree using graphviz in python but have a problem with getting the persons on the same rank. In my example I'd like all the partners to be on the same rank for as much as ...
3
votes
1
answer
832
views
Create recursive view with WHERE clause
I am trying to make a view for my recursive query, and use the view with a where clause to set a starting point.
CREATE TABLE dog (
id int,
name varchar(50)
)
CREATE TABLE dog_parent (
id ...
1
vote
0
answers
168
views
Fraternity/Sorority Family Line Visualization Examples
I've been struggling to figure out a free way to display large family trees. I've attempted with ObservableHQ, DagreD3, Cytoscape, and ElkJS. I've learned about D3 Clustering, various tree maps, and ...
0
votes
2
answers
627
views
Recursive CTE for a family tree keeps going into an infinite loop
I am trying to design a RDBM model for a family tree using SQL Server and currently I have the 3 tables that looks somewhat as follows
Members - Stores basic details of members of the family.
---------...
2
votes
1
answer
373
views
Insert data into table while adding nodes of FamilyTree
hope you all will be fine (sorry for my bad English),
I am making a FamilyTree in Oracle apex using PL/SQL Dynamic Content following this example this. Here multiple nodes can be made but the problem ...
3
votes
1
answer
1k
views
Customization of the Balkan FamilyTree Js library
Can you tell me if there is any possibility of adding custom buttons or links, or changing existing buttons and their routes on the display of the library family tree? For example, add a button next ...
0
votes
1
answer
175
views
How to click capture an image WITHOUT Selenium?
I am using a website called https://www.familyecho.com/ it has an API to create these family trees. https://familyecho.com/?page=api this is the API website that has information about the API. Now ...
0
votes
1
answer
436
views
Fetching nested data with NEO4J in Family Tree
First of all, I'm new to NEO4J and to CYPHER. So I'm twerking here and there to figure out to get the result I want.
Below is my graph. Let's say it's a simple family tree.
I have come up with this ...
-2
votes
1
answer
119
views
there are some issues in this family tree I made
I have this good family tree but the problem is that the page is funcy like everything is on top of each other how can I fix it (it's better to try it in a coding app because CSS doesn't work here (if ...
0
votes
0
answers
207
views
MySQL Family Tree Recursive Query (version 5.6)
I am trying to get a query that returns a family tree from the very first ancestor to their last descendant. I am using MySQL version 5.6, and here is the query I came up with:
SELECT
...
1
vote
1
answer
531
views
How to draw Genogram relationship tree using ReactJs?
I'm looking for a simple Javascript Library (SVG) for the ReactJs module that allows me to
draw family tree relationships.
I've already referred GoJs Genogram. But it's paid and does not fully fill ...
3
votes
2
answers
5k
views
Implement family tree visualization in Graphviz
I am trying to build a family tree with multiple generations using Python Graphviz. I've created functions to ease adding people using their relations (add married couple, add children). Though, I am ...
1
vote
1
answer
542
views
How to create line between react native elements (view/touchableopacity/button) to draw family tree
I'm trying to develop React Native mobile app to draw a family tree
Any suggestion on how to draw line between the family member to create the tree, the element is touchableopacity.
I have try using ...
1
vote
2
answers
356
views
Hashmap implemented as a family tree with linked list Java
I have a question regarding a Hashmap that is implemented as a Family tree which looks like this. The key value of the Hashmap is the first name of the person and the value is from the class Person, ...
1
vote
1
answer
505
views
Save descendence in family tree with a recursive function in Python
I have a dictionary of a family tree with the name of the child as the key and their dad's and mom's name in a list as the value.
d = {
'Kevin': ('Tom', 'Marge'),
'Marge': ('John', 'Mary'),
'Elle': ...
1
vote
0
answers
361
views
Family tree with multiple spouse relation
Currently, I'm trying to have a family tree that will have
Multiple Spouses. (When it is going more than two spouses, the link is not going
separately),
Son and daughter relationship also there
I am ...
1
vote
1
answer
253
views
How an object can be treated as an array and iterates through it and save the response in javascript with trie data structure?
I am a beginner in the data structure. I have just started learning it. I am trying to create a family structure using the trie data structure. I am referring to the document for that on github here:
...
0
votes
3
answers
2k
views
How to filter out array of objects based on gender using filter in javascript?
Below is the code I am trying out to filter out the array for males and females. But it seems it is returning the whole array again in both male and female variables.
const male = await familyTree....
1
vote
1
answer
709
views
What is a python recursion method for listing descendants from an ancestor in a non-binary tree?
I am a beginner in using Python. I have a MS Access database containing a family tree. I wish to use Python to query the family tree to list all the descendants of identified ancestors. The family ...
0
votes
1
answer
745
views
How to access or loop through the nested array of objects which can be infinite sometimes or keep adding by the user in jSON array objects in nodejs?
I have a JSON object which has a nested array as children. So basically I have a family tree that can gets keep expanding means the addition of children can happen. And I want to access every object ...
0
votes
0
answers
359
views
Concept to find common ancestor in family tree SQL/PHP
I have one table in MariaDB with persons:
I have one PHP to show a tree of a person of interest. It shows parents upwards, and children downwards, both recursivley.
My plan was to add a PHP to show ...
0
votes
0
answers
172
views
Find common ancestor in SQL family tree WITH clause, table doesn't exist
I looked at
How to get lowest, common parent for 2 rows in recursive table (SQL)
where they suggest:
WITH
hier1 (id, parent) AS (
SELECT id, parent
FROM table
WHERE ...
0
votes
0
answers
874
views
Create family tree using linked list and transverse tree in preorder in C
I wanna create a family tree using linked list and transverse the tree in preorder.
Rule 1: Each of the node should contain name, gender, pointer for storing the husband's/wive's information, and ...
1
vote
1
answer
177
views
Counting of all members of FamilyTree
I'm working on one of my first projects in Kotlin - FamilyTree.
I have class Person, which contains fields: "name", "age", "mother", "father" and array of "...
0
votes
1
answer
353
views
Layout Problem between Labels Dot Language Graphviz
I am having issues on keeping Marge near Homer and Herb near Lucia to avoid this above-line (check the image). Basicly i need to keep married couples together and push aside brothers to fix the lines ...
1
vote
0
answers
150
views
print json object parent-kid relation in angular
Lets say I have this JSON object:
{
"id": 8,
"name": "Simpson",
"parent1": {
"id": 10,
"name": "Rush",
&...
0
votes
0
answers
258
views
GEDCOM compatible file output in C#.NET
I tried to create a simple interface for building a gedcom compatible text file using C#.NET.
I am stuck with proper FAM record creation (I mean, something is logically wrong in my code). I believe ...
1
vote
1
answer
3k
views
Flutter Family Tree Creating Widget
I am searching for a Flutter plugin which can help in building a Family Tree exactly what it has to be and it needs to build dynamically from a raw JSON. I found some plugins but those are not I am ...
0
votes
1
answer
125
views
How with a help of id connect family members in a family tree program with SQL Server?
I am working a program in C# in a Visual Studio development, as a base, I am using SQL Server 2016.
My problem is that I can't determine who is related to whom using the ID of each member.
4
votes
0
answers
3k
views
powerbi how to create family trees/Hierarchy Chart with multiple children
This link shows how to create family trees/Hierarchy Chart in powerBI using the Hierarchy Chart Custom Viz by Akvelon. It shows how a node could have a multiple parents. But is there a way to have ...
0
votes
0
answers
691
views
Plotting pedigree / famliy tree using igraph in R
I have some very simple pedigree data that I would like to make visualise graphically. Example data here
I have tried with kinship2, but had no success - see here for previous issues with kinship2
I ...
0
votes
1
answer
1k
views
Error in kinship2 creating of pedigree object
I am trying to plot very simple pedigrees with kinship2. I only have one generations but lots of different families.
id <- sample(1:100, 50, replace=F)
dadid <- sample(100:110, 50, replace=T)
...
0
votes
0
answers
89
views
degree of kinship in the family tree
I'm writing a family tree program and I'm having troubles with realization of degree of kinship.I inputting two names, and program need to output degree of kinship. For example, when you enter - ...
0
votes
0
answers
72
views
Write a function to find the family tree of a tweet
I have a dataframe in Python, listing a bunch of tweets with their id, created time and the tweet id each one has interacted with. e.g. 006 to 004, 002 quoted 999 (999 is an old tweet, not listed ...
0
votes
1
answer
486
views
prolog, duplicating in queries
I'm trying to construct a familiy tree in prolog,
but when entering siblings(X,Y). as a query I get duplicates prints, anyone knows why?
for ex:
parent_of(abraham, herb).
parent_of(mona, herb).
...