From 144f9a2ccd43db8beccf9a3bd792d2ddf9af5bff Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 14 May 2015 23:00:59 +0100 Subject: [PATCH] update browser libraries --- src/graphxq/expath-pkg.xml | 7 +++ src/graphxq/repo.xml | 13 ++++ src/graphxq/views/api.xml | 4 +- src/graphxq/views/dotform.xq | 10 ++-- src/graphxq/views/dotmlform.xq | 10 ++-- src/graphxq/views/layout.xq | 105 +++++++++++++++++++-------------- src/static/graphxq/app.css | 4 +- 7 files changed, 95 insertions(+), 58 deletions(-) create mode 100644 src/graphxq/expath-pkg.xml create mode 100644 src/graphxq/repo.xml diff --git a/src/graphxq/expath-pkg.xml b/src/graphxq/expath-pkg.xml new file mode 100644 index 0000000..d4a32d0 --- /dev/null +++ b/src/graphxq/expath-pkg.xml @@ -0,0 +1,7 @@ + + Graphxq + + + + \ No newline at end of file diff --git a/src/graphxq/repo.xml b/src/graphxq/repo.xml new file mode 100644 index 0000000..cf43ae5 --- /dev/null +++ b/src/graphxq/repo.xml @@ -0,0 +1,13 @@ + + + Restxq interface for Graphviz for BaseX 8.0. + Andy Bunce + https://github.com/apb2006/graphxq + alpha + Apache 2 + true + application + graphxq + + + diff --git a/src/graphxq/views/api.xml b/src/graphxq/views/api.xml index 640824c..5ed2edb 100644 --- a/src/graphxq/views/api.xml +++ b/src/graphxq/views/api.xml @@ -9,7 +9,7 @@

Return SVG generated from dot syntax passed in the data parameter.

Syntax

- restxq/graphxq/api/dot application/x-www-form-urlencoded + /graphxq/api/dot application/x-www-form-urlencoded

@@ -40,7 +40,7 @@

Return SVG generated from dotML syntax passed in the data parameter.

Syntax

- restxq/graphxq/api/dotml application/x-www-form-urlencoded + /graphxq/api/dotml application/x-www-form-urlencoded

diff --git a/src/graphxq/views/dotform.xq b/src/graphxq/views/dotform.xq index e0a4d0f..09ee76b 100644 --- a/src/graphxq/views/dotform.xq +++ b/src/graphxq/views/dotform.xq @@ -3,13 +3,13 @@ declare variable $toolbar external :="{tooolbar}"; declare variable $dot external :="{dot}"; declare variable $svgwidget external :="{svg}"; -
+
-
+
{$toolbar}
-
-
+
+
@@ -26,7 +26,7 @@ node[shape=circle,style=filled,fillcolor=lightblue] }}
-
+
{$svgwidget}