Rhizi / rhizi

Connective intelligence
GNU Affero General Public License v3.0
13 stars 3 forks source link

file format for export and import (backup and restore) #624

Open alon opened 9 years ago

alon commented 9 years ago

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}] } ] }

Garbash commented 9 years ago

Request for clarification: You mention import/export, is it different then import/export to/from a specific Rhizi doc?

alon commented 9 years ago

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.