Comments (7)
Thanks for your suggestion. I will definitely consider adding this.
from jsoncrack.com.
@AykutSarac Do you use a library to make the graph, or have you created the layout on your own?
I think it would be cool if you could click on the element, and it will collapse the clicked parents children.
from jsoncrack.com.
@AykutSarac Do you use a library to make the graph, or have you created the layout on your own?
I think it would be cool if you could click on the element, and it will collapse the clicked parents children.
I've used the reaflow library. The library itself doesn't have collapse feature built-in though it does have delete node which removes all connectes nodes and edges of parent. Something similar could be implemented.
from jsoncrack.com.
Yeah maybe it could just be deleted. But I think that the delete functionality maybe causes a lot of performace issues. Would it not be better to just add a javascript display: hidden;
and box
to the child nodes?
from jsoncrack.com.
Yeah maybe it could just be deleted. But I think that the delete functionality maybe causes a lot of performace issues. Would it not be better to just add a javascript
display: hidden;
andbox
to the child nodes?
Sounds good.
from jsoncrack.com.
I support that, would be really useful
from jsoncrack.com.
We've got some legacy JSON objects with huge values on some sections.
Some of these can make the box 10 times longer than it is high.
I'm happy to try to solve this in a PR at some point, but possibly some kind of inline truncate, on the value level could be nice (That un-truncates if you click it)
from jsoncrack.com.
Related Issues (20)
- [BUG]: Author's GitHub Link Broken in Footer
- change "Twitter" to "𝕏 (Twitter)"
- Re-draw when collapsing very large nodes HOT 1
- [BUG]: Can not build the docker image locally
- [Feature]: Offline network - Editor not working HOT 1
- [BUG]: It doesn't run locally HOT 5
- Upgrade to premium for free HOT 1
- [BUG]: Can not build jsoncrack image HOT 5
- [BUG]: <Context of the issue> HOT 1
- [BUG]: Error: Unable to download sentry-cli
- Do we still have the limitation of json size if we deploy a local version on my own machine? HOT 1
- Tree mode option while embedding into website HOT 1
- [BUG]: View mode toggle HOT 1
- [BUG]: Nested array display is ambiguous HOT 1
- [BUG]: Expand modes after collapsing HOT 6
- Add Homebrew formula HOT 3
- [BUG]: Zoom Label Not Updating After Selection or Input HOT 3
- [BUG]: Graph not rendering correctly from JSON HOT 1
- [BUG]: The exported svg can only be viewed in the browser.
- [BUG]: Certain URLs in JSON graph not correctly highlighted
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 jsoncrack.com.