summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/source/SpringEmbedderKK_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/source/SpringEmbedderKK_script.h')
-rw-r--r--graphics/pgf/base/source/SpringEmbedderKK_script.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/graphics/pgf/base/source/SpringEmbedderKK_script.h b/graphics/pgf/base/source/SpringEmbedderKK_script.h
deleted file mode 100644
index 2b1586a546..0000000000
--- a/graphics/pgf/base/source/SpringEmbedderKK_script.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#include <pgf/gd/ogdf/c/InterfaceFromOGDF.h>
-#include <ogdf/energybased/SpringEmbedderKK.h>
-
-struct SpringEmbedderKK_script :
- scripting::declarations,
- scripting::ogdf_runner
-{
- void run () {
- using namespace ogdf;
- SpringEmbedderKK layout;
-
- parameters->configure_option ("SpringEmbedderKK.stopTolerance",
- &SpringEmbedderKK::setStopTolerance, layout);
- parameters->configure_option ("SpringEmbedderKK.desLength",
- &SpringEmbedderKK::setDesLength, layout);
-
- layout.call (graph_attributes);
- }
-
- void declare (scripting::script s) {
- using namespace scripting;
- using namespace ogdf;
-
- s.declare (key ("SpringEmbedderKK")
- .precondition ("connected")
- .algorithm (this)
- .documentation_in ("pgf.gd.doc.ogdf.energybased.SpringEmbedderKK"));
-
- s.declare (key ("SpringEmbedderKK.stopTolerance")
- .type ("number")
- .documentation_in ("pgf.gd.doc.ogdf.energybased.SpringEmbedderKK"));
-
- s.declare (key ("SpringEmbedderKK.desLength")
- .type ("length")
- .documentation_in ("pgf.gd.doc.ogdf.energybased.SpringEmbedderKK"));
-
- }
-
-};