// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Agents.AI.Workflows.Execution;
namespace Microsoft.Agents.AI.Workflows;
///
/// A base class for edge data, providing access to the representation of the edge.
///
public abstract class EdgeData
{
///
/// Gets the connection representation of the edge.
///
internal abstract EdgeConnection Connection { get; }
internal EdgeData(EdgeId id, string? label = null)
{
this.Id = id;
this.Label = label;
}
internal EdgeId Id { get; }
///
/// An optional label for the edge, allowing for arbitrary metadata to be associated with it.
///
public string? Label { get; }
}