rough structure of wiki
authormridkash <mridkash@gmail.com>
Mon, 15 Jun 2009 18:40:04 +0000 (00:10 +0530)
committermridkash <mridkash@gmail.com>
Mon, 15 Jun 2009 18:40:04 +0000 (00:10 +0530)
README
out.png [new file with mode: 0644]
uwiki-struct.dot [new file with mode: 0644]

diff --git a/README b/README
index 6cc9bdf..6922b9c 100644 (file)
--- a/README
+++ b/README
@@ -1 +1,4 @@
-Hi this is the readme!
+dot -T png -o out.png uwiki-struct.dot
+
+is the command to run the dot file.
+get more info at http://www.graphviz.org
diff --git a/out.png b/out.png
new file mode 100644 (file)
index 0000000..7d36fbe
Binary files /dev/null and b/out.png differ
diff --git a/uwiki-struct.dot b/uwiki-struct.dot
new file mode 100644 (file)
index 0000000..6718a8a
--- /dev/null
@@ -0,0 +1,50 @@
+//This is a dot file.
+
+digraph G {
+
+       //programs
+       {
+       node [shape=box]
+       program; Script; "Page Renderer"; "Access Control"; "Version Control";
+       }
+       
+       //data
+       {
+       node [shape=circle]
+       data; Database; MetaData;
+       }
+       
+       //actions
+       {
+       node [shape=diamond]
+       action; Create; Edit; Diff; Search;
+       }
+       
+       {
+       rank=same; 
+       Create; Edit; Diff; Search;
+       }
+       
+       //links
+       "Visit Wiki" [shape=invtriangle];
+       "Visit Wiki" -> "Wiki Page" -> "Static HTML File";
+       "Visit Wiki" -> Diff -> Script;
+       "Visit Wiki" -> "Search" -> Script;
+       
+       "Visit Wiki" -> Create;
+       Create -> "Create Page";
+       "Create Page" -> "Access Control";
+       
+       "Visit Wiki" -> Edit;
+       Edit -> "Edit Page";
+       "Edit Page" -> "Access Control";
+       
+       "Access Control" -> Script [label="POST"];
+       "Access Control" -> MetaData [label = " "];
+       MetaData -> "Access Control" [label = " "];
+       Script -> "Version Control" -> "Database" [label=" "];
+       Database -> "Version Control" [label=" "];
+       "Script" -> "Text File"; 
+       "Text File" -> "Page Renderer" -> "Static HTML File";
+}
+