Class Link
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Link
- All Implemented Interfaces:
Serializable
Link styling options for Organization charts.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()getType()voidSets the color of the link between nodes.voidsetLineWidth(Number lineWidth) Sets the line width of the link connecting nodes, in pixels.voidRadius for the rounded corners of the links between nodes.voidSets the type of link shape.
-
Constructor Details
-
Link
public Link()
-
-
Method Details
-
getColor
- Returns:
- the color of the link between nodes.
- See Also:
-
setColor
Sets the color of the link between nodes.- Parameters:
color- the color to use for the link
-
getLineWidth
- Returns:
- the line width of the link in pixels.
- See Also:
-
setLineWidth
Sets the line width of the link connecting nodes, in pixels.- Parameters:
lineWidth- the width of the link line
-
getRadius
- Returns:
- the radius for the rounded corners of the link.
- See Also:
-
setRadius
Radius for the rounded corners of the links between nodes. Works forLinkType.DEFAULTlink type.- Parameters:
radius- the radius for link corners
-
getType
- Returns:
- the type of link shape.
- See Also:
-
setType
Sets the type of link shape.- Parameters:
type- the link shape type
-