Spaces:
Running
Running
Download FlowAPI.Domain/Entities/Edge.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/Edge.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/Edge.cs
-
curl -L -o Edge.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Domain/Entities/Edge.cs
537 Bytes
| using FlowAPI.Domain.Enums; | |
| namespace FlowAPI.Domain.Entities | |
| { | |
| public class Edge | |
| { | |
| public Guid Id { get; set; } | |
| public Guid GraphId { get; set; } | |
| public Guid FromNodeId { get; set; } | |
| public Guid ToNodeId { get; set; } | |
| public EdgeCondition Condition { get; set; } = EdgeCondition.True; | |
| // Navigation properties | |
| public Graph Graph { get; set; } = null!; | |
| public TaskNode FromNode { get; set; } = null!; | |
| public TaskNode ToNode { get; set; } = null!; | |
| } | |
| } | |