In Charta one now can use the Graph diagram. One has to select "Graph" for the diagram type. For the X and Y columns one should choose the source and the target of the dependency. The Graph diagram is then constructed by creating points for every unique X and Y value. Then line segments are added for every pair of dependency values.
As there are no coordinates specified for X and Y the diagram is laid out using an automatic algorithm that tries to minimize edge crossings and keep edges at uniform length. Currently a graph layout based on forces has been implemented. The layout operates by assuming every node will repulse any other node in its neighborhood. Conversely, edges between nodes will attract the attached nodes towards each other. The equilibrium between attractive and repulsive forces determines the node positions. This algorithm works very well for dependencies that are simple. For complex dependencies one would have more trouble interpreting the resulting graph.
Tip: One can use a diagram to visualize the dependencies between units in ChartaPascal. If all dependencies in the code base are visualized the result can be hard to interpret. However, for subgraphs the result can be pleasing.