Open alon opened 9 years ago
Request for clarification: You mention import/export, is it different then import/export to/from a specific Rhizi doc?
import/export of a single doc should be consistent with this file format, but this file format (rhizi-backup file format) will include the history and possibly multiple documents.
dumping of all:
documents all nodes all edges commits
users
File format requirements: human readable can contain a single documents can contain multiple documents
Example (possible implementation): {date: ‘2015-09-17T23:23:23Z’, documents: [ {name: ‘Welcome’, nodes: [{id: 1, name:’Hello’}, {id:2, name:’World’}] , layout: {custom: {1: {x: 10, y: 20}, 2: {x: 30, y:20}} , links: [{id: 1, name: ‘to the’, src: 1, dst: 2}] } ] }