equal
deleted
inserted
replaced
77 }), |
77 }), |
78 nodes: this._project.nodes.map(function(_node) { |
78 nodes: this._project.nodes.map(function(_node) { |
79 return { |
79 return { |
80 id: _node.id, |
80 id: _node.id, |
81 title: _node.title, |
81 title: _node.title, |
|
82 description: _node.description, |
82 uri: _node.uri, |
83 uri: _node.uri, |
83 created_by: _node.created_by.id, |
84 created_by: _node.created_by.id, |
84 position: { |
85 position: { |
85 x: _node.position.x, |
86 x: _node.position.x, |
86 y: _node.position.y |
87 y: _node.position.y |
87 } |
88 } |
88 } |
89 } |
89 }), |
90 }), |
90 edges: this._project.edges.map(function(_node) { |
91 edges: this._project.edges.map(function(_edge) { |
91 return { |
92 return { |
92 id: _node.id, |
93 id: _edge.id, |
93 title: _node.title, |
94 title: _edge.title, |
94 description: _node.description, |
95 uri: _edge.uri, |
95 uri: _node.uri, |
96 from: _edge.from.id, |
96 from: _node.from.id, |
97 to: _edge.to.id, |
97 to: _node.to.id, |
98 created_by: _edge.created_by.id |
98 created_by: _node.created_by.id |
|
99 } |
99 } |
100 }) |
100 }) |
101 } |
101 } |
102 return _res; |
102 return _res; |
103 } |
103 } |