Table of Contents

Class GEdge

Namespace
NMF.Glsp.Graph
Assembly
NMF.Glsp.dll

Denotes an edge in the GLSP graph structure

public class GEdge : GElement
Inheritance
GEdge
Inherited Members

Constructors

GEdge()

Creates a new instance

public GEdge()

GEdge(string)

Creates a new instance

public GEdge(string id)

Parameters

id string

The id of the edge

Properties

EdgeSourcePointX

Gets or sets the X position of the edge start anchor

public double? EdgeSourcePointX { get; set; }

Property Value

double?

EdgeSourcePointY

Gets or sets the Y position of the edge start anchor

public double? EdgeSourcePointY { get; set; }

Property Value

double?

EdgeTargetPointX

Gets or sets the X position of the edge target anchor

public double? EdgeTargetPointX { get; set; }

Property Value

double?

EdgeTargetPointY

Gets or sets the Y position of the edge target anchor

public double? EdgeTargetPointY { get; set; }

Property Value

double?

RoutingPoints

Gets a collection of routing points

public IListExpression<Point> RoutingPoints { get; }

Property Value

IListExpression<Point>

SourceId

Gets or sets the source id of the edge

public string SourceId { get; set; }

Property Value

string

SupportsChangingSourceId

True, if an event listener is registered to handle changes of the source id

[JsonIgnore]
public bool SupportsChangingSourceId { get; }

Property Value

bool

SupportsChangingTargetId

True, if an event listener is registered to handle changes of the target id

[JsonIgnore]
public bool SupportsChangingTargetId { get; }

Property Value

bool

TargetId

Gets or sets the target id of the edge

public string TargetId { get; set; }

Property Value

string

Events

SourceIdChanged

Event that is raised if the source id is changed

public event Action<GEdge> SourceIdChanged

Event Type

Action<GEdge>

TargetIdChanged

Event that is raised if the target id is changed

public event Action<GEdge> TargetIdChanged

Event Type

Action<GEdge>