index.js 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. ["/guides/scene/items/polyline", "折线 item (拐角为圆角)"],
  52. ["/guides/scene/items/gifItem", "GIF item"],
  53. ["/guides/scene/items/gifItem2", "GIF item2"],
  54. ["/guides/scene/items/video", "video item"],
  55. ]
  56. },
  57. {
  58. title: "综合示例",
  59. children: [
  60. ["/guides/scene/items/clock", "时钟"],
  61. // ["/guides/scene/regularPolygon", "正多边形"],
  62. // ["/guides/scene/star", "星形"],
  63. ["/guides/scene/enlarge", "放大效果"],
  64. ["/guides/scene/eagleEyeMap", "鹰眼图"],
  65. ]
  66. },
  67. ]
  68. },
  69. {
  70. title: "建筑信息图",
  71. children: [
  72. {
  73. title: "Item 示例",
  74. children: [
  75. ["/guides/big/items/wall", "简介"],
  76. ["/guides/big/items/wall", "墙"],
  77. ["/guides/big/items/column", "柱子"],
  78. ["/guides/big/items/door", "门"],
  79. ["/guides/big/items/space", "空间"],
  80. ["/guides/big/items/virtualWall", "虚拟墙"],
  81. ["/guides/big/items/window", "窗户"],
  82. ["/guides/big/items/zone", "业务空间"],
  83. ]
  84. },
  85. ["/guides/big/workLine", "工作流程"],
  86. ["/guides/big/downloadFile", "手工下载楼层底图文件"],
  87. ["/guides/big/layerOrder", "图层"],
  88. ["/guides/big/factory/itemFactory", "item 创建工厂"],
  89. ["/guides/big/divide", "划分"],
  90. ["/guides/big/mapDemo", "楼层平面图范例"],
  91. ]
  92. },
  93. {
  94. title: "平面图嵌入指南",
  95. children: [
  96. ["/guides/tDInsert/brief.md", "简介"],
  97. ["/guides/tDInsert/install.md", "安装"],
  98. ["/guides/tDInsert/get-start.md", "快速上手"],
  99. ["/guides/tDInsert/addEvent.md", "添加事件"],
  100. ["/guides/tDInsert/addPicture.md", "添加二次绘制图"],
  101. ["/guides/tDInsert/addTootip.md", "实现tooltip"],
  102. ["/guides/tDInsert/partChange.md", "局部放大与移动"],
  103. ]
  104. },
  105. {
  106. title: "拓扑图嵌入指南",
  107. children: [
  108. ["/guides/tuopuInsert/brief.md", "简介"],
  109. ["/guides/tuopuInsert/install.md", "安装"],
  110. ["/guides/tuopuInsert/get-start.md", "快速上手"],
  111. ["/guides/tuopuInsert/no-Ts.md", "非TS环境开发"],
  112. ["/guides/tuopuInsert/addEvent.md", "添加事件"],
  113. ["/guides/tuopuInsert/dragScene.md", "画布拖动"],
  114. ["/guides/tuopuInsert/viewColor.md", "画布颜色"],
  115. ["/guides/tuopuInsert/derive.md", "派生---设备类"],
  116. ["/guides/tuopuInsert/deriveeq.md", "派生---管道类"],
  117. ["/guides/tuopuInsert/toolitp.md", "tooltip"],
  118. ["/guides/tuopuInsert/eagle-eyes.md", "鹰眼模式"],
  119. ]
  120. },
  121. {
  122. title: "编辑器",
  123. path: "/guides/edit/",
  124. children: [
  125. ["/guides/edit/clipboard/", "剪切板"],
  126. ["/guides/edit/selector/", "选择器"],
  127. {
  128. title: "编辑器Item示例",
  129. children: [
  130. ["/guides/edit/items/editLine", "编辑线"],
  131. ["/guides/edit/items/editPolygon", "编辑多边形"],
  132. ["/guides/edit/items/editPolyline", "编辑折线"],
  133. ["/guides/edit/items/editCirclePolyline", "编辑折线(拐点为圆角)"],
  134. ["/guides/edit/items/editImage", "编辑图片"],
  135. ["/guides/edit/items/editText", "编辑文字"],
  136. ["/guides/edit/items/editCircle", "编辑圆"],
  137. ["/guides/edit/items/editRect", "编辑矩形"],
  138. ["/guides/edit/items/editEllipse", "编辑椭圆"],
  139. ["/guides/edit/items/editArrowLine", "编辑带箭头直线"],
  140. ["/guides/edit/items/editArrowPolyline", "编辑带箭头折线"],
  141. ["/guides/edit/items/editTriangle", "编辑三角形"]
  142. ]
  143. },
  144. ["/guides/edit/undo/undo", "Undo示例"],
  145. ]
  146. },
  147. {
  148. title: "web 接口",
  149. path: "/guides/interface/",
  150. children: [
  151. ["/guides/interface/create", "创建"],
  152. ["/guides/interface/edit", "修改"],
  153. ["/guides/interface/delete", "删除"],
  154. ["/guides/interface/query", "查询"],
  155. ["/guides/interface/count", "统计"],
  156. ["/guides/interface/filters", "条件过滤"]
  157. ]
  158. }
  159. ];
  160. module.exports = content;