LineStyle
Defines the simple properties for an edge style.
Properties
color?
optionalcolor:string
Color to paint the edge's path
dashArray?
optionaldashArray:string
Definition of dash pattern to use to draw the edge path
fontFamily?
optionalfontFamily:string
Font size to use; defaults to whatever the browser decides given the context
fontSize?
optionalfontSize:number
Font size to use; defaults to whatever the browser decides given the context
fontStyle?
optionalfontStyle:FontStyle
Font style to use; defaults to whatever the browser decides given the context
gradient?
optionalgradient: [number,string][]
An array of color stops to use as a linear gradient for the edge path. When this is set, color is ignored.
label?
optionallabel:string
Label to show on the edge
labelLocation?
optionallabelLocation:number
Location for the label, defaults to 0.5
lineWidth?
optionallineWidth:number
Width of the edge path
outlineColor?
optionaloutlineColor:string
Color to paint the edge's outline path
outlineWidth?
optionaloutlineWidth:number
Width to draw the edge's outline path