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:
parent
8fe0147abd
commit
57cafd69a5
|
|
@ -1,3 +0,0 @@
|
|||
namespace Elsa.Workflows.Management.Models;
|
||||
|
||||
public record WorkflowGraphNetwork(HashSet<WorkflowGraphNode> Nodes);
|
||||
|
|
@ -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();
|
||||
}
|
||||
Loading…
Reference in a new issue