Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
2ac30694
Commit
2ac30694
authored
2 years ago
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 分组层级、矩形框
parent
e80c2cbe
dev
Tags unavailable
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
HistoryModel.js
...xtend-components/EC_ConfigurationView/src/HistoryModel.js
+9
-3
RealModel.js
...s/extend-components/EC_ConfigurationView/src/RealModel.js
+9
-3
No files found.
packages/extend-components/EC_ConfigurationView/src/HistoryModel.js
View file @
2ac30694
...
@@ -862,7 +862,12 @@ const ConfigurationView = (props) => {
...
@@ -862,7 +862,12 @@ const ConfigurationView = (props) => {
goJS(
goJS(
go.Group,
go.Group,
'
Auto
',
'
Auto
',
{ ungroupable: true },
{ ungroupable: true, zOrder: 1 },
{
// 设置其可选择
selectable: false,
layerName: '
Background
'
},
goJS(
goJS(
go.Shape,
go.Shape,
'
RoundedRectangle
', // surrounds everything
'
RoundedRectangle
', // surrounds everything
...
@@ -1093,8 +1098,9 @@ const ConfigurationView = (props) => {
...
@@ -1093,8 +1098,9 @@ const ConfigurationView = (props) => {
roleVisibleBinding(), // 绑定角色可见
roleVisibleBinding(), // 绑定角色可见
goJS(
goJS(
go.Shape,
go.Shape,
'Rectangle',
'RoundedRectanglePlus',
{ name: 'SHAPE', fill: 'rgba(128,128,128,0.2)', stroke: 'gray' },
{ name: 'SHAPE', fill: 'rgba(128,128,128,0.2)', stroke: 'gray', parameter1: 0 },
new go.Binding('parameter1', 'radius').makeTwoWay(),
new go.Binding('fill', 'fillColor').makeTwoWay(),
new go.Binding('fill', 'fillColor').makeTwoWay(),
new go.Binding('stroke').makeTwoWay(),
new go.Binding('stroke').makeTwoWay(),
new go.Binding('strokeWidth').makeTwoWay(),
new go.Binding('strokeWidth').makeTwoWay(),
...
...
This diff is collapsed.
Click to expand it.
packages/extend-components/EC_ConfigurationView/src/RealModel.js
View file @
2ac30694
...
@@ -1277,7 +1277,12 @@ const ConfigurationView = (props) => {
...
@@ -1277,7 +1277,12 @@ const ConfigurationView = (props) => {
goJS(
goJS(
go.Group,
go.Group,
'
Auto
',
'
Auto
',
{ ungroupable: true },
{ ungroupable: true, zOrder: 1 },
{
// 设置其可选择
selectable: false,
layerName: '
Background
'
},
goJS(
goJS(
go.Shape,
go.Shape,
'
RoundedRectangle
', // surrounds everything
'
RoundedRectangle
', // surrounds everything
...
@@ -1520,8 +1525,9 @@ const ConfigurationView = (props) => {
...
@@ -1520,8 +1525,9 @@ const ConfigurationView = (props) => {
roleVisibleBinding(), // 绑定角色可见
roleVisibleBinding(), // 绑定角色可见
goJS(
goJS(
go.Shape,
go.Shape,
'Rectangle',
'RoundedRectanglePlus',
{ name: 'SHAPE', fill: 'rgba(128,128,128,0.2)', stroke: 'gray' },
{ name: 'SHAPE', fill: 'rgba(128,128,128,0.2)', stroke: 'gray', parameter1: 0 },
new go.Binding('parameter1', 'radius').makeTwoWay(),
new go.Binding('fill', 'fillColor').makeTwoWay(),
new go.Binding('fill', 'fillColor').makeTwoWay(),
new go.Binding('stroke').makeTwoWay(),
new go.Binding('stroke').makeTwoWay(),
new go.Binding('strokeWidth').makeTwoWay(),
new go.Binding('strokeWidth').makeTwoWay(),
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment