Customizing Tree Structure in Coffee Editor with External JSON Data #240
Unanswered
hoajie
asked this question in
Coffee Editor
Replies: 1 comment 2 replies
-
|
Hi @hoajie ,
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am currently working with the Coffee Editor and I would like to use my own JSON data to create and display a custom tree structure, similar to how the superbrewer3000.coffee file showcases the machine structure in the editor.
I am interested in understanding how Coffee Editor fetches and displays the data in the tree. My goal is to modify or rewrite the existing methods to make requests to an external URL (e.g., http://localhost:8081/api/v2/models?modeluri=test.sysmlx) in order to retrieve the data I need for my custom model, and then display it as a hierarchical tree structure.
Could you guide me on how to:
Modify or extend the existing data-fetching method in Coffee Editor?
Display a custom hierarchical tree model using my own JSON data?
Integrate and bind the retrieved data to the tree structure effectively?
Any insights or resources you can provide would be greatly appreciated.
Thank you for your time!
Best regards,
hoajie
Beta Was this translation helpful? Give feedback.
All reactions