зеркало из https://github.com/stride3d/GraphX.git
Merge branch 'PCL' of https://github.com/panthernet/GraphX.git
This commit is contained in:
Коммит
c56eca82e2
|
@ -415,7 +415,7 @@ namespace GraphX.Controls
|
|||
/// <param name="removeEdgeFromDataGraph">Remove edge from data graph if possible. Default value is False.</param>
|
||||
public void RemoveEdge(TEdge edgeData, bool removeEdgeFromDataGraph = false)
|
||||
{
|
||||
RemoveEdgeInternal(edgeData, true);
|
||||
RemoveEdgeInternal(edgeData, true, removeEdgeFromDataGraph);
|
||||
var hasStorage = LogicCore?.AlgorithmStorage != null && (edgeData.SkipProcessing != ProcessingOptionEnum.Exclude || removeEdgeFromDataGraph);
|
||||
if (hasStorage) LogicCore.AlgorithmStorage.RemoveSingleEdge(edgeData);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче