--- a/client/README.md Thu Mar 31 16:38:35 2016 +0200
+++ b/client/README.md Fri Mar 18 14:15:23 2016 +0100
@@ -309,7 +309,7 @@
* viewIndex=index: init the renkan with the indexed view. Negative index starts from the end of the list of views (viewIndex=-1 will load the last view). In case the view doesn't exist, the initial view (viewIndex=0) will be loaded.
* view=offset-x,offset-y,zoom-level: Load a view with the given zoom and offset parameters
* view=autoscale: force the view to be autoscaled when the renkan loads
-* idNode=id: highlight a node according to the given node id.
+* idNode=id: highlight a node according to the given node id.
## Drop management
@@ -354,6 +354,7 @@
```json
{
"id": "f4d002b7-d4fd-486c-8898-6c6ceebc3354",
+ "schema_version": 2, #version of schema, latest is 2.
"title": "Example of Renkan with movies",
"description": "A long description",
"created": "2013-03-18T11:32:40.253+01:00",
@@ -364,7 +365,11 @@
"title": "Une femme mène l'enquête",
"description": "La caméra suit la femme qui marche\nJeu avec la caméra qui se substitue au spectateur",
"uri": "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/lyceehulst_3extraits/c8a61ee4-b33c-11e2-802c-00145ea4a2be#id=s_DCA8D184-EFC2-314B-0F6B-84043E8F9984",
- "color": null,
+ "style": { #optional
+ "color": "#ff7f00", #line color, optional (null)
+ "thickness": 1, #thickness of the line, optional (1)
+ "dash": false, #dashed line, optional (false)
+ },
"position": {
"x": -547.0499881440252,
"y": -221.5401229374163
@@ -373,9 +378,9 @@
"size": 0,
"project_id": "f4d002b7-d4fd-486c-8898-6c6ceebc3354",
"created_by": "de68xf75y6hs5rgjhgghxbm217xk",
+ "type": "...",
+ "hidden": false,
"shape": "circle",
- "type": "...",
- "hidden": false
},
...
],
@@ -385,7 +390,12 @@
"title": "",
"description": "",
"uri": "",
- "color": "#ff7f00",
+ "style": { #optional
+ "color": "#ff7f00", #line color, optional (null)
+ "thickness": 1, #thickness of the line, optional (1)
+ "dash": false, #dashed line, optional (false)
+ "arrow": true, #draw the arrow, optional (true)
+ },
"from": "node-2013-04-30-a81adec6694db5f4-0032",
"to": "node-2013-05-08-72c911bafdf9932c-0001",
"project_id": "f4d002b7-d4fd-486c-8898-6c6ceebc3354",