Skip to content

Instantly share code, notes, and snippets.

@cedoor
Created February 20, 2018 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cedoor/9f884ab0d7ad0550aa8edbc3326d6d05 to your computer and use it in GitHub Desktop.
Save cedoor/9f884ab0d7ad0550aa8edbc3326d6d05 to your computer and use it in GitHub Desktop.
The structure of a mmp file.
[
{
"id": "mmp1_node_0",
"parent": "",
"name": "Map",
"coordinates": {
"x": 759,
"y": 233.5
},
"image": {
"src": "",
"size": 70
},
"colors": {
"name": "#787878",
"background": "#f0f6f5",
"branch": ""
},
"font": {
"size": 20,
"style": "normal",
"weight": "normal"
},
"k": 7.503023660893717
},
{
"id": "mmp1_node_1",
"parent": "mmp1_node_0",
"name": "Node",
"coordinates": {
"x": 557,
"y": 277.5
},
"image": {
"src": "",
"size": 60
},
"colors": {
"name": "#787878",
"background": "#f9f9f9",
"branch": "#577a96"
},
"font": {
"size": 16,
"style": "normal",
"weight": "normal"
},
"locked": true,
"k": -13.812280825792884
},
{
"id": "mmp1_node_2",
"parent": "mmp1_node_0",
"name": "Node",
"coordinates": {
"x": 884,
"y": 136.5
},
"image": {
"src": "",
"size": 60
},
"colors": {
"name": "#787878",
"background": "#f9f9f9",
"branch": "#577a96"
},
"font": {
"size": 16,
"style": "normal",
"weight": "normal"
},
"locked": true,
"k": -11.50734890357163
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment