1 | #include <ogdf/fileformats/GraphIO.h> |
---|---|
2 | #include <ogdf/hypergraph/HypergraphLayout.h> |
3 | |
4 | using namespace ogdf; |
5 | |
6 | int main() |
7 | { |
8 | Hypergraph H; |
9 | |
10 | H.readBenchHypergraph("c17.bench"); |
11 | |
12 | HypergraphAttributesES HA(H, EdgeStandardType::tree); |
13 | HypergraphLayoutES hlES; |
14 | |
15 | hlES.setProfile(HypergraphLayoutES::Profile::Normal); |
16 | hlES.call(HA); |
17 | |
18 | GraphIO::write(HA.repGA(), "output-c17.gml", GraphIO::writeGML); |
19 | |
20 | return 0; |
21 | } |
22 |