Table of Contents

Class EdgeLabelPlacement

Namespace
NMF.Glsp.Protocol.Types
Assembly
NMF.Glsp.dll

Denotes the placement of a label relative to an edge

public record EdgeLabelPlacement : IEquatable<EdgeLabelPlacement>
Inheritance
EdgeLabelPlacement
Implements
Inherited Members

Constructors

EdgeLabelPlacement(double, bool, string, string, double?)

Denotes the placement of a label relative to an edge

public EdgeLabelPlacement(double Position, bool Rotate, string Side, string MoveMode, double? Offset)

Parameters

Position double

The position of the edge

Rotate bool

A boolean value indicating whether the label should be rotated

Side string

The side of the edge

MoveMode string

The way the label can be moved

Offset double?

An offset to the next node or edge

Properties

MoveMode

The way the label can be moved

public string MoveMode { get; init; }

Property Value

string

Offset

An offset to the next node or edge

public double? Offset { get; init; }

Property Value

double?

Position

The position of the edge

public double Position { get; init; }

Property Value

double

Rotate

A boolean value indicating whether the label should be rotated

public bool Rotate { get; init; }

Property Value

bool

Side

The side of the edge

public string Side { get; init; }

Property Value

string