Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export tree to JSON ? and limit child members? #51

Open
cbake6807 opened this issue Sep 2, 2013 · 3 comments
Open

Export tree to JSON ? and limit child members? #51

cbake6807 opened this issue Sep 2, 2013 · 3 comments

Comments

@cbake6807
Copy link

Is there currently any way to export a chart's structure to JSON? I'd like to allow users to dynamically rearrange their flow, add nodes as desired and have a way to export out the current state into json, while "somehow" maintaining the left/right ordering of child nodes, etc..

Also, is there any way each parent node can restrict the number of child nodes?

I'd like to use this to display an upsell flow of products during an order checkout process. In my application, each main product (respective parent node) would have accept/reject decision based logic to redirect to "the next upsell" based on 2 child nodes assigned under the respective parent. (Product A -> Accepts to Product B, and Rejects to Product C)

I'd need to limit 2 child nodes per parent node, and assign them as an "accept" or "reject" stage of the flow.

This is an awesome application! I look forward to using it in my app.
Thanks!
Chris

@YashSOA
Copy link

YashSOA commented Feb 1, 2014

Hey, Chris!!

I am looking for the same thing. Do you have any idea how we can accomplish that? I am trying to implement the feature to export the structure to JSON, but no luck!! Appreciate if you have any idea regarding that!!

Thanks & Regards,
Yash

@selvamani-subramani
Copy link

yeah Here I made jorgchart with json https://github.com/sselvamani22/jOrgChart

@YashSOA
Copy link

YashSOA commented Feb 15, 2014

thanks man!! appreciate it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants