Creating Custom Dynamic Acyclic Graphs using JS

0
Hi all, I’d like to dynamically create acyclic graphs based on objects created by the user in the app.  I’ve looked through the Mendix Charts Widget but have not found a method to generate such acyclic graphs. Is there any way to accomplish this using Mendix? Alternatively, does anyone have experience creating custom graphs using JS?  
asked
1 answers
3

Hi Fujii,

try to import the JS library files of acyclic graphs in your index.html file using the script tag and use a javascript snippet with context in your mendix modeler and provide the datasource for the snippet and use the below links for getting the knowledge of syntax of Acyclic graphs and write the code based on your requirement.

https://www.skypack.dev/search?q=directed%20acyclic%20graph&from=pika

or

https://github.com/dagrejs/dagre-d3

 

Hope this helps you.

 

answered