Skip to content
ChartForgeX
Class

GraphEdgeStyle

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
Modifiers
sealed
Attributes
Fluent

Describes adapter-neutral graph edge styling hints, including common vis-network edge option concepts.

Inheritance

  • object
  • GraphEdgeStyle

Usage

Explore 54 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 26

Constructors

public GraphEdgeStyle() #

Properties

public string? Color { get; set; } #

Gets or sets the edge stroke color.

public string? LabelColor { get; set; } #

Gets or sets the edge label color.

public double? Width { get; set; } #

Gets or sets the preferred edge stroke width.

public string? DashPattern { get; set; } #

Gets or sets an optional SVG-style dash pattern such as "8 5" or "2 5".

public bool Physics { get; set; } #

Gets or sets whether the edge participates in runtime physics solvers.

public bool Hidden { get; set; } #

Gets or sets whether the edge is hidden from visual output while remaining available in metadata.

public GraphEdgeArrowShape SourceArrowShape { get; set; } #

Gets or sets the mark drawn at the source when GraphSceneEdge.SourceArrow is set.

public GraphEdgeArrowShape MiddleArrowShape { get; set; } #

Gets or sets the mark drawn halfway along the edge when GraphSceneEdge.MiddleArrow is set.

public GraphEdgeArrowShape TargetArrowShape { get; set; } #

Gets or sets the mark drawn at the target when the edge has a target arrow.

public double ArrowScale { get; set; } #

Gets or sets the size multiplier for every arrow mark on the edge.

public double? Value { get; set; } #

Gets or sets a relationship value mapped onto the scene's GraphSceneOptions.EdgeWidthScale. An explicit GraphEdgeStyle.Width wins.

public double? HoverWidth { get; set; } #

Gets or sets the stroke width used while the pointer rests on the edge.

public double? SelectionWidth { get; set; } #

Gets or sets the stroke width used while the edge is selected or highlighted.

Extension Methods

public static GraphEdgeStyle ArrowScale(GraphEdgeStyle graphEdgeStyle, double value) #

Sets GraphEdgeStyle.ArrowScale: Gets or sets the size multiplier for every arrow mark on the edge.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value double required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { ArrowScale = value };    graphEdgeStyle.ArrowScale(value);
public static GraphEdgeStyle Color(GraphEdgeStyle graphEdgeStyle, string? value) #

Sets GraphEdgeStyle.Color: Gets or sets the edge stroke color.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value string? required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { Color = value };    graphEdgeStyle.Color(value);
public static GraphEdgeStyle DashPattern(GraphEdgeStyle graphEdgeStyle, string? value) #

Sets GraphEdgeStyle.DashPattern: Gets or sets an optional SVG-style dash pattern such as "8 5" or "2 5".

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value string? required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { DashPattern = value };    graphEdgeStyle.DashPattern(value);
public static GraphEdgeStyle Hidden(GraphEdgeStyle graphEdgeStyle, bool value = true) #

Sets GraphEdgeStyle.Hidden: Gets or sets whether the edge is hidden from visual output while remaining available in metadata.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { Hidden = value };    graphEdgeStyle.Hidden(value);
public static GraphEdgeStyle HoverWidth(GraphEdgeStyle graphEdgeStyle, double? value) #

Sets GraphEdgeStyle.HoverWidth: Gets or sets the stroke width used while the pointer rests on the edge.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value double? required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { HoverWidth = value };    graphEdgeStyle.HoverWidth(value);
public static GraphEdgeStyle LabelColor(GraphEdgeStyle graphEdgeStyle, string? value) #

Sets GraphEdgeStyle.LabelColor: Gets or sets the edge label color.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value string? required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { LabelColor = value };    graphEdgeStyle.LabelColor(value);
public static GraphEdgeStyle MiddleArrowShape(GraphEdgeStyle graphEdgeStyle, GraphEdgeArrowShape value) #

Sets GraphEdgeStyle.MiddleArrowShape: Gets or sets the mark drawn halfway along the edge when GraphSceneEdge.MiddleArrow is set.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value ChartForgeX.Interactivity.GraphEdgeArrowShape required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { MiddleArrowShape = value };    graphEdgeStyle.MiddleArrowShape(value);
public static GraphEdgeStyle Physics(GraphEdgeStyle graphEdgeStyle, bool value = true) #

Sets GraphEdgeStyle.Physics: Gets or sets whether the edge participates in runtime physics solvers.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { Physics = value };    graphEdgeStyle.Physics(value);
public static GraphEdgeStyle SelectionWidth(GraphEdgeStyle graphEdgeStyle, double? value) #

Sets GraphEdgeStyle.SelectionWidth: Gets or sets the stroke width used while the edge is selected or highlighted.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value double? required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { SelectionWidth = value };    graphEdgeStyle.SelectionWidth(value);
public static GraphEdgeStyle SourceArrowShape(GraphEdgeStyle graphEdgeStyle, GraphEdgeArrowShape value) #

Sets GraphEdgeStyle.SourceArrowShape: Gets or sets the mark drawn at the source when GraphSceneEdge.SourceArrow is set.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value ChartForgeX.Interactivity.GraphEdgeArrowShape required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { SourceArrowShape = value };    graphEdgeStyle.SourceArrowShape(value);
public static GraphEdgeStyle TargetArrowShape(GraphEdgeStyle graphEdgeStyle, GraphEdgeArrowShape value) #

Sets GraphEdgeStyle.TargetArrowShape: Gets or sets the mark drawn at the target when the edge has a target arrow.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value ChartForgeX.Interactivity.GraphEdgeArrowShape required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { TargetArrowShape = value };    graphEdgeStyle.TargetArrowShape(value);
public static GraphEdgeStyle Value(GraphEdgeStyle graphEdgeStyle, double? value) #

Sets GraphEdgeStyle.Value: Gets or sets a relationship value mapped onto the scene's GraphSceneOptions.EdgeWidthScale. An explicit GraphEdgeStyle.Width wins.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value double? required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { Value = value };    graphEdgeStyle.Value(value);
public static GraphEdgeStyle Width(GraphEdgeStyle graphEdgeStyle, double? value) #

Sets GraphEdgeStyle.Width: Gets or sets the preferred edge stroke width.

Parameters

graphEdgeStyle ChartForgeX.Interactivity.GraphEdgeStyle required
The instance.
value double? required
The value.

Returns

GraphEdgeStyle The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { Width = value };    graphEdgeStyle.Width(value);