Remove WorkflowGraphNetwork and WorkflowGraphNode models

These models were deleted as they are no longer needed in the system. The removal helps in reducing code clutter and improves maintainability by eliminating unused components.
This commit is contained in:
Sipke Schoorstra 2024-11-08 18:07:59 +01:00
parent 8fe0147abd
commit 57cafd69a5
2 changed files with 0 additions and 27 deletions

View file

@ -1,3 +0,0 @@
namespace Elsa.Workflows.Management.Models;
public record WorkflowGraphNetwork(HashSet<WorkflowGraphNode> Nodes);

View file

@ -1,24 +0,0 @@
using Elsa.Workflows.Models;
namespace Elsa.Workflows.Management.Models;
/// <summary>
/// Represents an activity in the context of an hierarchical tree structure, providing access to its siblings, parents and children.
/// </summary>
public class WorkflowGraphNode(WorkflowGraph workflowGraph)
{
/// <summary>
/// Gets the workflow graph associated with this node.
/// </summary>
public WorkflowGraph WorkflowGraph { get; } = workflowGraph;
/// <summary>
/// Gets the parents of this node.
/// </summary>
public HashSet<WorkflowGraphNode> Predecessors { get; set; } = new();
/// <summary>
/// Gets the children of this node.
/// </summary>
public HashSet<WorkflowGraphNode> Successors { get; set; } = new();
}