index.js 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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/style", "底图风格"],
  12. ]
  13. },
  14. {
  15. title: "绘图引擎",
  16. path: "/guides/engine/",
  17. children: [
  18. ["/guides/engine/draw", "绘制形状"],
  19. ["/guides/engine/style", "颜色与样式"],
  20. ["/guides/engine/gradient", "渐变"],
  21. ["/guides/engine/composite", "融合"],
  22. ["/guides/engine/transform", "变型"],
  23. ["/guides/engine/clip", "裁剪"],
  24. ["/guides/engine/arrow", "绘制带有箭头的线段"],
  25. ["/guides/engine/selectContainer", "选择容器"],
  26. {
  27. title: '综合示例',
  28. children: [
  29. ["/guides/engine/demo/elsfk", "俄罗斯方块"],
  30. ["/guides/engine/demo/elsfkDifficult", "俄罗斯方块-英雄版"],
  31. ]
  32. }
  33. ]
  34. },
  35. {
  36. title: "场景管理",
  37. path: "/guides/scene/",
  38. children: [
  39. {
  40. title: "Item 示例",
  41. children: [
  42. ["/guides/scene/items/rect", "矩形"],
  43. ["/guides/scene/items/polygon", "多边形组"],
  44. ["/guides/scene/items/area", "区域类型组"],
  45. ["/guides/scene/items/text", "文字"],
  46. ["/guides/scene/items/image", "图片"],
  47. ["/guides/scene/items/svg", "SVG 图"],
  48. ]
  49. },
  50. {
  51. title: "综合示例",
  52. children: [
  53. ["/guides/scene/items/clock", "时钟"],
  54. ["/guides/scene/regularPolygon", "正多边形"],
  55. ["/guides/scene/star", "星形"],
  56. ]
  57. },
  58. ]
  59. },
  60. {
  61. title: "建筑信息图",
  62. children: [
  63. {
  64. title: "Item 示例",
  65. children: [
  66. ["/guides/big/items/wall", "墙"],
  67. ["/guides/big/items/column", "柱子"],
  68. ["/guides/big/items/door", "门"],
  69. ["/guides/big/items/space", "空间"],
  70. ["/guides/big/items/virtualWall", "虚拟墙"],
  71. ["/guides/big/items/window", "窗户"],
  72. ["/guides/big/items/zone", "业务空间"],
  73. ]
  74. },
  75. ["/guides/big/workLine", "工作流程"],
  76. ["/guides/big/downloadFile", "手工下载楼层底图文件"],
  77. ["/guides/big/layerOrder", "图层"],
  78. ["/guides/big/factory/itemFactory", "item 创建工厂"],
  79. ["/guides/big/divide", "划分"],
  80. ["/guides/big/mapDemo", "楼层平面图范例"],
  81. ]
  82. },
  83. // {
  84. // title: "系统图",
  85. // children: [
  86. // ["/guides/system-diagram/json-file", "json数据格式"]
  87. // ]
  88. // },
  89. {
  90. title: "编辑器",
  91. path: "/guides/edit/",
  92. children: [
  93. ["/guides/edit/clipboard/", "剪切板"],
  94. ["/guides/edit/selector/", "选择器"],
  95. {
  96. title: "编辑器Item示例",
  97. children: [
  98. ["/guides/edit/items/editLine", "编辑线"],
  99. ["/guides/edit/items/editPolygon", "编辑多边形"],
  100. ["/guides/edit/items/editPolyline", "编辑折线"],
  101. ["/guides/edit/items/editImage", "编辑图片"],
  102. ["/guides/edit/items/editText", "编辑文字"],
  103. ["/guides/edit/items/editCircle", "编辑圆"],
  104. ["/guides/edit/items/editRect", "编辑矩形"],
  105. ["/guides/edit/items/editEllipse", "编辑椭圆"],
  106. ["/guides/edit/items/editArrowLine", "编辑带箭头直线"],
  107. ["/guides/edit/items/editArrowPolyline", "编辑带箭头折线"],
  108. ["/guides/edit/items/editTriangle", "编辑三角形"]
  109. ]
  110. },
  111. ["/guides/edit/undo/undo", "Undo示例"],
  112. ]
  113. },
  114. ];
  115. module.exports = content;