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.