mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-20 00:06:45 +08:00
重新设计了创建连线时的逻辑,能够预览连接成功后的外观样式
This commit is contained in:
@@ -158,25 +158,7 @@ namespace Serein.Library
|
||||
|| (start == JunctionType.ArgData && end == JunctionType.ReturnData);
|
||||
}
|
||||
|
||||
//var endType = end.ToConnectyionType();
|
||||
//if (startType != endType
|
||||
// || startType == JunctionOfConnectionType.None
|
||||
// || endType == JunctionOfConnectionType.None)
|
||||
//{
|
||||
// return false;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// if (startType == JunctionOfConnectionType.Invoke)
|
||||
// {
|
||||
|
||||
// return end == JunctionType.NextStep;
|
||||
// }
|
||||
// else // if (startType == JunctionOfConnectionType.Arg)
|
||||
// {
|
||||
// return end == JunctionType.ReturnData;
|
||||
// }
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user