Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
vue-flow-editor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-12-04 19:33:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d32268005e08b200ba327844422bf87ec4fe9b48
d3226800
1 parent
39eb6197
暂时屏蔽边的选中状态,因为会影响删除节点时判断逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/behavior/click-select.ts
src/behavior/click-select.ts
View file @
d322680
...
...
@@ -57,7 +57,8 @@ export function clickSelect(G6) {
if
(
item
.
get
(
'type'
)
===
'node'
)
{
selectChangeFlag
=
true
item
.
getEdges
().
forEach
(
edge
=>
{
graph
.
setItemState
(
edge
,
SELECTED_STATE
,
true
);
// TODO: 暂时屏蔽边的选中状态,因为会影响删除节点时判断逻辑,后面处理
// graph.setItemState(edge, SELECTED_STATE, true);
});
}
else
{
this
.
onCanvasClick
();
...
...
Please
register
or
login
to post a comment