Use the dagre-compatible wrapper in d3-dag
maind3-dag provides a wrapper that allows you to use the dagre API while leveraging the d3-dag layout engine for the actual calculations. This is useful for migrating existing projects that rely on dagre syntax.
When using this wrapper, you can control the speed/quality trade-off of the layout using the Quality preset. For a complete list of supported methods and variables, refer to the official dagre API documentation.