summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/source/GreedyCycleRemoval_script.h
blob: 746169814149a848006c509c415a6aecc0f46ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <pgf/gd/ogdf/c/InterfaceFromOGDF.h>
#include <ogdf/layered/GreedyCycleRemoval.h>

struct GreedyCycleRemoval_script :
  scripting::declarations,
  scripting::factory<ogdf::GreedyCycleRemoval>
{
  
  ogdf::GreedyCycleRemoval* make (scripting::run_parameters* parameters) {
    return new ogdf::GreedyCycleRemoval;
  }
  
  void declare (scripting::script s) {
    using namespace scripting;
    s.declare (key ("GreedyCycleRemoval")
	       .documentation_in ("pgf.gd.doc.ogdf.layered.GreedyCycleRemoval")
	       .set_module ("AcyclicSubgraphModule", this));
  }
};