1#include <ogdf/basic/graph_generators.h>
2#include <ogdf/layered/DfsAcyclicSubgraph.h>
3#include <ogdf/fileformats/GraphIO.h>
4
5using namespace ogdf;
6
7int main()
8{
9 Graph G;
10 randomSimpleGraph(G, 10, 20);
11
12 DfsAcyclicSubgraph DAS;
13 DAS.callAndReverse(G);
14
15 GraphIO::write(G, "output-acyclic-graph.gml", GraphIO::writeGML);
16
17 return 0;
18}
19