GraphEdgeStyle
ChartForgeX.Interactivity
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.
Returned or exposed by 28
- Extension method GraphEdgeStyle.ArrowScale
- Extension method GraphEdgeStyle.Color
- Extension method GraphEdgeStyle.DashPattern
- Extension method GraphEdgeStyle.Hidden
- Extension method GraphEdgeStyle.HoverWidth
- Extension method GraphEdgeStyle.LabelColor
- Extension method GraphEdgeStyle.MiddleArrowShape
- Extension method GraphEdgeStyle.Physics
- Extension method GraphEdgeStyle.SelectionWidth
- Extension method GraphEdgeStyle.SourceArrowShape
- Extension method GraphEdgeStyle.TargetArrowShape
- Extension method GraphEdgeStyle.Value
- Extension method GraphEdgeStyle.Width
- Method GraphEdgeStyleFluent.ArrowScale
- Method GraphEdgeStyleFluent.Color
- Method GraphEdgeStyleFluent.DashPattern
- Method GraphEdgeStyleFluent.Hidden
- Method GraphEdgeStyleFluent.HoverWidth
- Method GraphEdgeStyleFluent.LabelColor
- Method GraphEdgeStyleFluent.MiddleArrowShape
- Method GraphEdgeStyleFluent.Physics
- Method GraphEdgeStyleFluent.SelectionWidth
- Method GraphEdgeStyleFluent.SourceArrowShape
- Method GraphEdgeStyleFluent.TargetArrowShape
- Method GraphEdgeStyleFluent.Value
- Method GraphEdgeStyleFluent.Width
- Property GraphSceneEdge.Style
- Property VisNetworkEdge.Style
Accepted by parameters 26
- Extension method GraphEdgeStyle.ArrowScale
- Extension method GraphEdgeStyle.Color
- Extension method GraphEdgeStyle.DashPattern
- Extension method GraphEdgeStyle.Hidden
- Extension method GraphEdgeStyle.HoverWidth
- Extension method GraphEdgeStyle.LabelColor
- Extension method GraphEdgeStyle.MiddleArrowShape
- Extension method GraphEdgeStyle.Physics
- Extension method GraphEdgeStyle.SelectionWidth
- Extension method GraphEdgeStyle.SourceArrowShape
- Extension method GraphEdgeStyle.TargetArrowShape
- Extension method GraphEdgeStyle.Value
- Extension method GraphEdgeStyle.Width
- Method GraphEdgeStyleFluent.ArrowScale
- Method GraphEdgeStyleFluent.Color
- Method GraphEdgeStyleFluent.DashPattern
- Method GraphEdgeStyleFluent.Hidden
- Method GraphEdgeStyleFluent.HoverWidth
- Method GraphEdgeStyleFluent.LabelColor
- Method GraphEdgeStyleFluent.MiddleArrowShape
- Method GraphEdgeStyleFluent.Physics
- Method GraphEdgeStyleFluent.SelectionWidth
- Method GraphEdgeStyleFluent.SourceArrowShape
- Method GraphEdgeStyleFluent.TargetArrowShape
- Method GraphEdgeStyleFluent.Value
- Method GraphEdgeStyleFluent.Width
Constructors
public GraphEdgeStyle() #Inherited Methods
Properties
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 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
- The instance.
- value double
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { DashPattern = value }; graphEdgeStyle.DashPattern(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
- The instance.
- value double?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value ChartForgeX.Interactivity.GraphEdgeArrowShape
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value double?
- The value.
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
- The instance.
- value ChartForgeX.Interactivity.GraphEdgeArrowShape
- The value.
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
- The instance.
- value ChartForgeX.Interactivity.GraphEdgeArrowShape
- The value.
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
- The instance.
- value double?
- The value.
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
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphEdgeStyle { Width = value }; graphEdgeStyle.Width(value);