build single node element.
buildNode(
id = NULL,
width = 15,
height = 15,
shape = "ellipse",
bgColor = "#48DBFB",
bgOpacity = 1,
bgFill = "solid",
bgBlacken = 0,
borderWidth = 0,
borderStyle = "solid",
borderColor = "#8395a7",
borderOpacity = 1,
isParent = FALSE,
label = NULL,
labelColor = "#8395a7",
textOpacity = 1,
fontSize = 16,
textOutlineColor = "#222f3e",
textOutlineOpacity = 1,
textOutlineWidth = 0,
textbgColor = "#FFF",
textbgOpacity = 0,
textBorderColor = "#222f3e",
textBorderOpacity = 0,
textBorderWidth = 0,
parent = NULL,
opacity = 1,
pieSize = rep("0%", 16),
pieColor = rep("#000", 16),
tooltip = "",
position.x = 0,
position.y = 0
)List typed Node element, consisted with data options ( id ) and style options ( width, shape... )
id of node element. Also it will used as label. [string]
Width. [numeric]
Height. [numeric]
Shape of node body. polygon not accepted. [string]
Background color of node body. [string]
Opacity of backgroundColor. [numeric between 0 ~ 1]
The filling style of the node’s body; may be solid (default), linear-gradient, or radial-gradient. [string]
Blackens the node’s body for values from 0 to 1; whitens the node’s body for values from 0 to -1. [numeric between -1 ~ 1]
The size of the node’s border. [numeric]
The style of the node’s border; may be solid, dotted, dashed, or double. [string]
The colour of the node’s border. [string]
The opacity of the node’s border. [numeric between 0 ~ 1]
whether this node is parent node or not [logical]
node's label, default is node's id [string]
The color of node's label
The opacity of the label text, including its outline. [numeric between 0 ~ 1]
The size of the label text. [numeric]
The colour of the outline around the element’s label text. [string]
The opacity of the outline on label text. [numeric between 0 ~ 1]
The size of the outline on label text. [numeric]
colour to apply on the text background. [string]
The opacity of the label background; the background is disabled for 0 (default value). [numeric between 0 ~ 1]
The colour of the border around the label. [string]
The width of the border around the label; the border is disabled for 0 (default value) [numeric between 0 ~ 1]
The width of the border around the label. [numeric]
Indicate which node is parent of this node [string]
Opacity of node itself. [numeric between 0 ~ 1]
Implement for pie node, consisted with 16 pie size[string]
Color for each pie part. [string]
Text for tooltip. [string]
Location value (specify the location of of Node)
Location value (specify the location of of Node)
https://js.cytoscape.org/#style