Skip to content
ChartForgeX
Class

GraphEdgeStyleFluent

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
Modifiers
static

The fluent methods of GraphEdgeStyle, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • GraphEdgeStyleFluent

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);