< Summary

Information
Class: Intentum.Analytics.Models.IntentGraphEdge
Assembly: Intentum.Analytics
File(s): /home/runner/work/Intentum/Intentum/src/Intentum.Analytics/Models/IntentGraphEdge.cs
Line coverage
80%
Covered lines: 4
Uncovered lines: 1
Coverable lines: 5
Total lines: 15
Line coverage: 80%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/Intentum/Intentum/src/Intentum.Analytics/Models/IntentGraphEdge.cs

#LineLine coverage
 1namespace Intentum.Analytics.Models;
 2
 3/// <summary>
 4/// An edge in the intent graph: transition from one intent node to another.
 5/// Used for node-edge visualization and flow analysis.
 6/// </summary>
 7/// <param name="FromNodeId">Source node identifier.</param>
 8/// <param name="ToNodeId">Target node identifier.</param>
 9/// <param name="TransitionAt">When the transition occurred.</param>
 10/// <param name="Weight">Optional weight (e.g. count of such transitions).</param>
 111public sealed record IntentGraphEdge(
 112    string FromNodeId,
 113    string ToNodeId,
 014    DateTimeOffset TransitionAt,
 115    double Weight = 1.0);