client/data/test-data.json
changeset 1 45cca39b00ac
child 2 3360c3f7fb18
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/data/test-data.json	Wed Jul 25 19:36:31 2012 +0200
@@ -0,0 +1,112 @@
+{
+    "title": "Test Graph",
+    "creation_date": "2012-07-25T11:00:00.0Z",
+    "users": [
+        {
+            "id": "u-cybunk",
+            "title": "Samuel",
+            "uri": "http://twitter.com/cybunk",
+            "color": "#e00000"
+        },
+        {
+            "id": "u-raphv",
+            "title": "Raphael",
+            "uri": "http://twitter.com/raphv",
+            "color": "#00a000"
+        }
+    ],
+    "nodes": [
+        {
+            "id": "n-001",
+            "title": "連環 (Renkan)",
+            "uri": "http://ja.wikipedia.org/wiki/%E7%99%BE%E5%AD%A6%E9%80%A3%E7%92%B0",
+            "created_by": "u-cybunk",
+            "position": {
+                "x": 0,
+                "y": 0
+            }
+        },
+        {
+            "id": "n-002",
+            "title": "Savoir",
+            "uri": "http://fr.wikipedia.org/wiki/Savoir",
+            "created_by": "u-raphv",
+            "position": {
+                "x": 200,
+                "y": 50
+            }
+        },
+        {
+            "id": "n-003",
+            "title": "Connaissance",
+            "uri": "http://fr.wikipedia.org/wiki/Connaissance",
+            "created_by": "u-raphv",
+            "position": {
+                "x": 300,
+                "y": -50
+            }
+        },
+        {
+            "id": "n-004",
+            "title": "graphe",
+            "uri": "http://fr.wikipedia.org/wiki/Th%C3%A9orie_des_graphes",
+            "created_by": "u-cybunk",
+            "position": {
+                "x": -200,
+                "y": 0
+            }
+        },
+        {
+            "id": "n-005",
+            "title": "nœud",
+            "uri": "http://fr.wikipedia.org/wiki/Th%C3%A9orie_des_graphes",
+            "created_by": "u-cybunk",
+            "position": {
+                "x": -300,
+                "y": 100
+            }
+        },
+        {
+            "id": "n-006",
+            "title": "lien",
+            "uri": "http://fr.wikipedia.org/wiki/Th%C3%A9orie_des_graphes",
+            "created_by": "u-cybunk",
+            "position": {
+                "x": -300,
+                "y": -100
+            }
+        }
+    ],
+    "edges": [
+        {
+            "id": "e-001",
+            "from": "n-001",
+            "to": "n-002",
+            "created_by": "u_raphv"
+        },
+        {
+            "id": "e-002",
+            "from": "n-002",
+            "to": "n-003",
+            "created_by": "u_raphv"
+        },
+        {
+            "id": "e-003",
+            "from": "n-001",
+            "to": "n-004",
+            "created_by": "u_cybunk"
+        },
+        {
+            "id": "e-004",
+            "from": "n-004",
+            "to": "n-005",
+            "created_by": "u_cybunk"
+        },
+        {
+            "id": "e-005",
+            "from": "n-004",
+            "to": "n-006",
+            "created_by": "u_cybunk"
+        }
+    ]
+}