Browse Source

系统图引擎 目录添加

haojianlong 4 years ago
parent
commit
7e966abd38

+ 17 - 9
docs/.vuepress/config.js

@@ -3,6 +3,7 @@ const revitContent = require("../revit/index");
 const databaseContent = require("../dev/database/index");
 const dataCenterContent = require("../dev/data-center/index");
 const revitCenterContent = require("../dev/revit-center/index");
+const sagaGraphyContent = require("../dev/saga-graphy/index");
 
 module.exports = {
     title: "数字化交开发文档",
@@ -27,20 +28,19 @@ module.exports = {
             {
                 text: "开发文档",
                 items: [
-                    {text: "数据中心", link: "/dev/data-center/"},
-                    {text: "物理世界同步", link: "/dev/dataplatform-sync/"},
-                    {text: "模型管理", link: "/dev/revit-center/"},
                     {
-                        text: "数据库设计",
+                        text: "后台开发",
                         items: [
-                            { text: "数据中心", link: "/dev/database/data-center/" },
-                            { text: "系统图", link: "/dev/database/topo/" }
+
+                            {text: "数据中心", link: "/dev/data-center/"},
+                            {text: "物理世界同步", link: "/dev/dataplatform-sync/"},
+                            {text: "模型管理", link: "/dev/revit-center/"},
                         ]
                     },
                     {
                         text: "Web开发",
                         items: [
-                            { text: "TS 图形引擎", link: "http://adm.sagacloud.cn:8080/api/web/graphy/" }
+                            { text: "系统图引擎", link: "/dev/saga-graphy/" }
                         ]
                     },
                     {
@@ -48,7 +48,14 @@ module.exports = {
                         items: [
                             { text: "Android 图形引擎", link: "http://http://adm.sagacloud.cn:8080/api/android/graphy/" }
                         ]
-                    }
+                    },
+                    {
+                        text: "数据库设计",
+                        items: [
+                            { text: "数据中心", link: "/dev/database/data-center/" },
+                            { text: "系统图", link: "/dev/database/topo/" }
+                        ]
+                    },
                 ]
             },
             {
@@ -96,6 +103,7 @@ module.exports = {
             "/dev/database/" : databaseContent,
             "/dev/data-center/" : dataCenterContent,
             "/dev/revit-center/" : revitCenterContent,
+            "/dev/saga-graphy/": sagaGraphyContent,
         }
     }
-};
+};

+ 5 - 0
docs/dev/saga-graphy/README.md

@@ -0,0 +1,5 @@
+系统图引擎
+1,绘图引擎
+2,场景管理
+3,楼层平面图
+4,系统图

+ 6 - 0
docs/dev/saga-graphy/floor-map/README.md

@@ -0,0 +1,6 @@
+楼层平面图
+
+
+1.json数据格式
+2.下载-解析-生成 过程
+3.划分等

+ 10 - 0
docs/dev/saga-graphy/graphy-engine/README.md

@@ -0,0 +1,10 @@
+绘图引擎
+
+
+1.引擎基本结构
+2.绘制操作,特殊说明:path/image/text;画笔/画刷;字体/字号/对齐方式;案例:线/圆/矩形/多边形/饼图(实现)/椭圆/圆角矩形;
+3.颜色与过渡
+4.矩阵变换
+5.融合效果
+6.特效:投影/发光/倒影/a过渡/等
+7.实现自定义绘图引擎:如image绘图引擎

+ 32 - 0
docs/dev/saga-graphy/index.js

@@ -0,0 +1,32 @@
+const content = [
+    {
+        title: "绘图引擎",
+        path: "/dev/saga-graphy/graphy-engine/",
+        children: [
+
+        ]
+    },
+    {
+        title: "场景管理",
+        path: "/dev/saga-graphy/scene-manage/",
+        children: [
+
+        ]
+    },
+    {
+        title: "楼层平面图",
+        path: "/dev/saga-graphy/floor-map/",
+        children: [
+
+        ]
+    },
+    {
+        title: "系统图",
+        path: "/dev/saga-graphy/system-diagram/",
+        children: [
+
+        ]
+    },
+];
+
+module.exports = content;

+ 11 - 0
docs/dev/saga-graphy/scene-manage/README.md

@@ -0,0 +1,11 @@
+场景管理
+
+
+1.视图-场景-对象的基本说明
+2.绘制封装,painter传递过程
+3.系统事件传递
+4.坐标换算
+5.自定义事件$emit
+6.基本操作,如放大缩小
+7.undo/redo 框架
+8.item实现案例,钟表/连线/多边形

+ 4 - 0
docs/dev/saga-graphy/system-diagram/README.md

@@ -0,0 +1,4 @@
+系统图
+
+
+数据格式