| Download Gephi | Blog | Gephi Store | Wiki | Forum | Support | Bugtracker

Look for Gephi Plugins

Popular Keywords

Close Search

DAG Layout

DAG Layout
5 votes, 5.00 avg. rating (97% score)


Simple Layout for directed acyclic graphs (DAGs).

Plugin Owner’s Notes

The nodes are arranged in discrete layers so that the edges will always point downwards (if no loop exists). The nodes are arranged as far to the top as possible, minimizing the number of layers used. The horizontal layout is done by assigning the nodes to discrete slots in each layer (the biggest layer defines the number of availabe slots for each layer). While running, slots are chosen randomly and swapped if this would make the edges shorter to generate a more compact graph. These optimizations are only local and will not generate an overall opimal layout.

Expected input:

DAG (directed acyclic graph, a directed grah without loops)
If the graph contains loops, it is treated as a DAG as far as possible and all “leftover” edges are ignored. Which edges in circles are ignored may be different on each run because of the randomization in the initialization phase.

Known issues:

Sometimes, the layout refuses to optimize the order of the nodes in the layers. Restart gephi in this case.

Similar Plugins


A Gephi plugin to display your geocoded graphs.

More Info

Hiveplot Layout

A Hiveplot Layout implementation for Gephi. For information about hiveplots visit

More Info

Multipartite Layout

To simplify analyzing connections between groups in multipartite graphs, minimizing edge crossings is a good way to do so. In this work, by using the algorithm suggested in the paper “An Edge Crossing Minimization Algorithm Based on Adjacency Matrix Transformation”, implementation for gephi platform is performed.

More Info