Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 07654f6b
authored
Jan 10, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改画布逻辑
1 parent
250b4e00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
public/drawio/js/diagramly/sidebar/Sidebar-ArchiEA.js → public/drawio/extention/js/exGraph.js
public/drawio/js/diagramly/Devel.js
public/drawio/js/diagramly/sidebar/Sidebar.js
public/drawio/
js/diagramly/sidebar/Sidebar-ArchiEA
.js
→
public/drawio/
extention/js/exGraph
.js
View file @
07654f6
...
...
@@ -4,7 +4,7 @@
*/
// (function()// 旧代码--------------------------------------------------------------
// {
// Sidebar.prototype.add
EAPalette
= function()
// Sidebar.prototype.add
CustomGraph
= function()
// {
// this.setCurrentSearchEntryLibrary('eachart');
// $.ajax({
...
...
@@ -37,7 +37,7 @@
(
function
()
{
Sidebar
.
prototype
.
add
EAPalette
=
function
()
Sidebar
.
prototype
.
add
CustomGraph
=
function
()
{
const
leftGraph
=
JSON
.
parse
(
localStorage
.
getItem
(
'leftGraph'
));
...
...
public/drawio/js/diagramly/Devel.js
View file @
07654f6
...
...
@@ -155,7 +155,7 @@ mxscript(geBasePath + '../../../extention/js/exApp.js');
mxscript
(
geBasePath
+
'../../../extention/js/exCustomMenu.js'
);
mxscript
(
geBasePath
+
'../../../extention/js/exEditorUi.js'
);
mxscript
(
geBasePath
+
'../../../extention/js/exDevTools.js'
);
mxscript
(
geBasePath
+
'../../../extention/js/exGraph.js'
);
...
...
@@ -197,7 +197,6 @@ mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Electrical.js');
mxscript
(
drawDevUrl
+
'js/diagramly/sidebar/Sidebar-ER.js'
);
mxscript
(
drawDevUrl
+
'js/diagramly/sidebar/Sidebar-Floorplan.js'
);
mxscript
(
drawDevUrl
+
'js/diagramly/sidebar/Sidebar-Flowchart.js'
);
mxscript
(
drawDevUrl
+
'js/diagramly/sidebar/Sidebar-ArchiEA.js'
);
mxscript
(
drawDevUrl
+
'js/diagramly/sidebar/Sidebar-FluidPower.js'
);
mxscript
(
drawDevUrl
+
'js/diagramly/sidebar/Sidebar-GCP.js'
);
...
...
public/drawio/js/diagramly/sidebar/Sidebar.js
View file @
07654f6
...
...
@@ -1208,7 +1208,7 @@
this
.
addWebIconsPalette
();
this
.
addWebLogosPalette
();
this
.
addSignsPalette
(
signs
,
dir
);
this
.
add
EAPalette
();
//二次开发,增加动态读取架构设计要素
this
.
add
CustomGraph
();
//二次开发,增加动态读取架构设计要素
// LATER: Check if conflicts with restore libs after loading file
this
.
showEntries
();
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment