Forge
csharpdeeb25a2
1#nullable enable
2
3namespace CascadeIDE.Cockpit.Graph;
4
5/// <summary>Ребро в <see cref="GraphDocument"/> (graph-backed surface, ADR 0067).</summary>
6public class GraphEdge
7{
8 public required string FromId { get; init; }
9 public required string ToId { get; init; }
10 /// <summary>Доменный kind рёбра (control flow, merge, contains, …).</summary>
11 public string? Kind { get; init; }
12 /// <summary>Смысл связи (<c>relation_kind</c>, ADR 0114); в wire часто <c>related_kind</c>.</summary>
13 public string? RelationKind { get; init; }
14 /// <summary>Происхождение связи (<c>edge_provenance</c>, ADR 0113) — опционально в wire.</summary>
15 public string? EdgeProvenance { get; init; }
16}
17
View only · write via MCP/CIDE