Comments (5)
maybe there's a way to render portions of the tree and render the rest as they are expanded?
from family-chart.
hmm, I am not sure how big the tree have to be. This one is pretty big, but it work ok, I think.. https://donatso.github.io/family-chart/examples/wiki-tree/?wiki_id=Q855
Can you give me some example of that very large tree?
from family-chart.
sorry for the late reply. The example you showed seem to have less than 50 nodes (individual names). I'm looking to render a tree with almost 1000 nodes.
from family-chart.
uh, 1000 is a lot. svg cannot handle so many cards.
best I can do for you for now is suggest this little hack that cuts tree before rendering it.
https://codesandbox.io/s/family-chart-static-forked-qwbrw1?file=/index.html
default is max_depth=1, which means that only parents and children and their spouses for the selected person will be shown.
then you have to select child or parent to see their relatives.
max_depth=2 will show grandparents and grandchildren and so on...
I hope it helps!
from family-chart.
Haha yeah. This took is amazing but I'm pushing it with that many nodes.
That's perfect. Cutting the tree before rendering actually give a better experience. Thanks a million!!
from family-chart.
Related Issues (20)
- sibling node
- Minimap
- Images reload when I click the same node
- Templating HOT 1
- Center the clicked item
- search feature HOT 2
- Using family-chart with Laravel 10 Vite + React HOT 1
- Step father & mother HOT 1
- Manual Zoom HOT 1
- IS it possible to view first five generations and later other generations are viewed in mini tree?
- multiple spouses
- Change the direction of the chart
- this will work on react-native
- Google Sheet family tree template
- [plugin:vite:import-analysis] Failed to resolve entry for package "family-chart". The package may have incorrect main/module/exports specified in its package.json.
- [NextJS] d3.select(...).transition is not a function HOT 1
- Remove Transition when the family-enter to view
- [Vue]addRelative is not a function HOT 1
- Search User
- Divide by level
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from family-chart.