Files
Chamilo/plugin/mindmap/edit-mindmap/vendor/map.json
T
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip
sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439
Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
2026-08-06 17:59:45 +02:00

74 lines
1.3 KiB
JSON

/**
* map.json
* map的数据结构采用树型结构, 大致如下所示:
* root
* |---child1
* |---child1-1
* |---child1-1-1
* |---child1-2
* |---child2
* |---child3
*
* 目前node支持如下属性:
* node
* |---id
* |---content
* |---offset
* |---parent
* |---children
*
* map
* |---tree
* |---name
* |---lastModified
*/
{
"document" : [
{
"id" : "child1",
"content" : "child1",
"offset" : {"x" : 100, "y" : 200},
"parent" : "map",
"children" : [
{
"id" : "child1-1",
"content" : "child1-1",
"offset" : {"x" : 100, "y" : 200},
"parent" : "child1",
"children" : [
{
"id" : "child1-1-1",
"content" : "child1-1-1",
"offset" : {"x" : 200, "y" : 200},
"parent" : "child1-1",
"children" : null
}
]
},
{
"id" : "child1-2",
"content" : "child1-2",
"offset" : {"x" : 200, "y" : 200},
"parent" : "child1",
"children" : null
}
]
},
{
"id" : "child2",
"content" : "child2",
"offset" : {"x" : 100, "y" : 100},
"parent" : "map",
"children" : null
},
{
"id" : "child3",
"content" : "child3",
"offset" : {"x" : 200, "y" : 100},
"parent" : "map",
"children" : null
}
],
"name" : "untitled",
"lastModified" : 123456789
}