summaryrefslogtreecommitdiff
path: root/uml/api.dot
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-15 16:24:37 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-15 16:24:37 +0200
commit2f0f999ed3a3a1dc1fe0d1ad5f06786a87574614 (patch)
treebe64d9db45939fb32640675d7644e75f78ea3eda /uml/api.dot
parentremove params level (diff)
downloadspore-specifications-2f0f999ed3a3a1dc1fe0d1ad5f06786a87574614.tar.gz
graphical representation (UML Class Diagram) of the Rx schema.
png <-- dot <-- lua-Coat
Diffstat (limited to '')
-rw-r--r--uml/api.dot13
1 files changed, 13 insertions, 0 deletions
diff --git a/uml/api.dot b/uml/api.dot
new file mode 100644
index 0000000..4d2a3dc
--- /dev/null
+++ b/uml/api.dot
@@ -0,0 +1,13 @@
+digraph {
+
+ node [shape=record];
+
+ "Method"
+ [label="{\N|authentication : boolean\lbase_url : string\ldescription : string\lexpected : table&lt;number&gt;\lformat : table&lt;string&gt;\lmethod : string\loptional : table&lt;string&gt;\lpath : string\lrequired : table&lt;string&gt;\l}"];
+
+ "API"
+ [label="{\N|authentication : boolean\lauthority : string\lbase_url : string\ldescription : string\lformat : table&lt;string&gt;\lmeta : table&lt;string,string&gt;\lmethods : table&lt;string,Method&gt;\lname : string\lversion : string\l}"];
+ "API" -> "Method" // attr isa table<string,Method>
+ [label = "methods", arrowhead = none, arrowtail = odiamond];
+
+}