summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/source/FastSimpleHierarchyLayout_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/source/FastSimpleHierarchyLayout_script.h')
-rw-r--r--graphics/pgf/base/source/FastSimpleHierarchyLayout_script.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/graphics/pgf/base/source/FastSimpleHierarchyLayout_script.h b/graphics/pgf/base/source/FastSimpleHierarchyLayout_script.h
deleted file mode 100644
index 37c6c94bc0..0000000000
--- a/graphics/pgf/base/source/FastSimpleHierarchyLayout_script.h
+++ /dev/null
@@ -1,41 +0,0 @@
-#include <pgf/gd/ogdf/c/InterfaceFromOGDF.h>
-#include <ogdf/layered/FastSimpleHierarchyLayout.h>
-
-struct FastSimpleHierarchyLayout_script :
- scripting::declarations,
- scripting::factory<ogdf::FastSimpleHierarchyLayout>
-{
-
- ogdf::FastSimpleHierarchyLayout* make (scripting::run_parameters* parameters) {
- using namespace ogdf;
-
- FastSimpleHierarchyLayout* r = new FastSimpleHierarchyLayout
- (
- parameters->option<int> ("FastSimpleHierarchyLayout.siblingDistance"),
- parameters->option<int> ("FastSimpleHierarchyLayout.layerDistance")
- );
-
- return r;
- }
-
- void declare (scripting::script s) {
- using namespace scripting;
- using namespace ogdf;
-
- s.declare (key ("FastSimpleHierarchyLayout")
- .documentation_in ("pgf.gd.doc.ogdf.layered.FastSimpleHierarchyLayout")
- .set_module ("HierarchyLayoutModule", this));
-
- s.declare (key ("FastSimpleHierarchyLayout.layerDistance")
- .type ("length")
- .alias ("level distance")
- .documentation_in ("pgf.gd.doc.ogdf.layered.FastSimpleHierarchyLayout"));
-
- s.declare (key ("FastSimpleHierarchyLayout.siblingDistance")
- .type ("length")
- .alias ("sibling distance")
- .documentation_in ("pgf.gd.doc.ogdf.layered.FastSimpleHierarchyLayout"));
- }
-};
-
-