mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-24 17:06:34 +08:00
修改了移除节点时无法移除父子节点关系的问题
This commit is contained in:
@@ -520,7 +520,7 @@ namespace Serein.NodeFlow
|
|||||||
for (int i = 0; i < pnc.Value.Count; i++)
|
for (int i = 0; i < pnc.Value.Count; i++)
|
||||||
{
|
{
|
||||||
NodeModelBase? pNode = pnc.Value[i];
|
NodeModelBase? pNode = pnc.Value[i];
|
||||||
pNode.SuccessorNodes[pCType].Remove(pNode);
|
pNode.SuccessorNodes[pCType].Remove(remoteNode);
|
||||||
|
|
||||||
OnNodeConnectChange?.Invoke(new NodeConnectChangeEventArgs(pNode.Guid,
|
OnNodeConnectChange?.Invoke(new NodeConnectChangeEventArgs(pNode.Guid,
|
||||||
remoteNode.Guid,
|
remoteNode.Guid,
|
||||||
@@ -583,7 +583,6 @@ namespace Serein.NodeFlow
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 移除连接关系
|
/// 移除连接关系
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user