index.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. const content = [
  2. {
  3. title: '简介',
  4. path: '/guides/'
  5. },
  6. {
  7. title: "数据格式",
  8. children: [
  9. ["/guides/format/floorMap", "底图数据"],
  10. ["/guides/format/systemJson", "系统图数据"],
  11. ["/guides/format/planJson", "平面图数据"],
  12. ["/guides/format/style", "底图风格"],
  13. ]
  14. },
  15. {
  16. title: "绘图引擎",
  17. path: "/guides/engine/",
  18. children: [
  19. ["/guides/engine/draw", "绘制形状"],
  20. ["/guides/engine/style", "颜色与样式"],
  21. ["/guides/engine/gradient", "渐变"],
  22. ["/guides/engine/composite", "融合"],
  23. ["/guides/engine/transform", "变型"],
  24. ["/guides/engine/clip", "裁剪"],
  25. ["/guides/engine/arrow", "绘制带有箭头的线段"],
  26. ["/guides/engine/selectContainer", "选择容器"],
  27. {
  28. title: '综合示例',
  29. children: [
  30. ["/guides/engine/demo/elsfk", "俄罗斯方块"],
  31. ["/guides/engine/demo/elsfkDifficult", "俄罗斯方块-英雄版"],
  32. ["/guides/engine/demo/2048", "2048"],
  33. ]
  34. }
  35. ]
  36. },
  37. {
  38. title: "场景管理",
  39. path: "/guides/scene/",
  40. children: [
  41. {
  42. title: "Item 示例",
  43. children: [
  44. ["/guides/scene/items/rect", "矩形"],
  45. ["/guides/scene/items/polygon", "多边形组"],
  46. ["/guides/scene/items/area", "区域类型组"],
  47. ["/guides/scene/items/text", "文字"],
  48. ["/guides/scene/items/image", "图片"],
  49. ["/guides/scene/items/svg", "SVG 图"],
  50. ["/guides/scene/items/imgText", "图例 item"],
  51. ]
  52. },
  53. {
  54. title: "综合示例",
  55. children: [
  56. ["/guides/scene/items/clock", "时钟"],
  57. ["/guides/scene/regularPolygon", "正多边形"],
  58. ["/guides/scene/star", "星形"],
  59. ]
  60. },
  61. ]
  62. },
  63. {
  64. title: "建筑信息图",
  65. children: [
  66. {
  67. title: "Item 示例",
  68. children: [
  69. ["/guides/big/items/wall", "简介"],
  70. ["/guides/big/items/wall", "墙"],
  71. ["/guides/big/items/column", "柱子"],
  72. ["/guides/big/items/door", "门"],
  73. ["/guides/big/items/space", "空间"],
  74. ["/guides/big/items/virtualWall", "虚拟墙"],
  75. ["/guides/big/items/window", "窗户"],
  76. ["/guides/big/items/zone", "业务空间"],
  77. ]
  78. },
  79. ["/guides/big/workLine", "工作流程"],
  80. ["/guides/big/downloadFile", "手工下载楼层底图文件"],
  81. ["/guides/big/layerOrder", "图层"],
  82. ["/guides/big/factory/itemFactory", "item 创建工厂"],
  83. ["/guides/big/divide", "划分"],
  84. ["/guides/big/mapDemo", "楼层平面图范例"],
  85. ]
  86. },
  87. {
  88. title: "平面图嵌入指南",
  89. children: [
  90. ["/guides/tDInsert/brief.md", "简介"],
  91. ["/guides/tDInsert/install.md", "安装"],
  92. ["/guides/tDInsert/get-start.md", "快速上手"],
  93. ["/guides/tDInsert/addEvent.md", "添加事件"],
  94. ["/guides/tDInsert/addPicture.md", "添加二次绘制图"],
  95. ["/guides/tDInsert/addTootip.md", "实现tooltip"],
  96. ["/guides/tuopuInsert/dragScene.md", "画布拖动"],
  97. ["/guides/tDInsert/partChange.md", "局部放大与移动"],
  98. ["/guides/tDInsert/install.md", "平面图示例代码"]
  99. ]
  100. },
  101. {
  102. title: "拓扑图嵌入指南",
  103. children: [
  104. ["/guides/tuopuInsert/brief.md", "简介"],
  105. ["/guides/tuopuInsert/install.md", "安装"],
  106. ["/guides/tuopuInsert/get-start.md", "快速上手"],
  107. ["/guides/tuopuInsert/addEvent.md", "添加事件"],
  108. ["/guides/tuopuInsert/dragScene.md", "画布拖动"],
  109. ["/guides/tuopuInsert/viewColor.md", "画布颜色"],
  110. ["/guides/tuopuInsert/derive.md", "派生---设备类"],
  111. ["/guides/tuopuInsert/anther.md", "修改设备类状态"],
  112. ["/guides/tDInsert/install.md", "平面图示例代码"],
  113. ]
  114. },
  115. {
  116. title: "编辑器",
  117. path: "/guides/edit/",
  118. children: [
  119. ["/guides/edit/clipboard/", "剪切板"],
  120. ["/guides/edit/selector/", "选择器"],
  121. {
  122. title: "编辑器Item示例",
  123. children: [
  124. ["/guides/edit/items/editLine", "编辑线"],
  125. ["/guides/edit/items/editPolygon", "编辑多边形"],
  126. ["/guides/edit/items/editPolyline", "编辑折线"],
  127. ["/guides/edit/items/editImage", "编辑图片"],
  128. ["/guides/edit/items/editText", "编辑文字"],
  129. ["/guides/edit/items/editCircle", "编辑圆"],
  130. ["/guides/edit/items/editRect", "编辑矩形"],
  131. ["/guides/edit/items/editEllipse", "编辑椭圆"],
  132. ["/guides/edit/items/editArrowLine", "编辑带箭头直线"],
  133. ["/guides/edit/items/editArrowPolyline", "编辑带箭头折线"],
  134. ["/guides/edit/items/editTriangle", "编辑三角形"]
  135. ]
  136. },
  137. ["/guides/edit/undo/undo", "Undo示例"],
  138. ]
  139. },
  140. {
  141. title: "web 接口",
  142. path: "/guides/interface/",
  143. children: [
  144. ["/guides/interface/create", "创建"],
  145. ["/guides/interface/edit", "修改"],
  146. ["/guides/interface/delete", "删除"],
  147. ["/guides/interface/query", "查询"],
  148. ["/guides/interface/count", "统计"],
  149. ["/guides/interface/filters", "条件过滤"]
  150. ]
  151. }
  152. ];
  153. module.exports = content;