Description Usage Arguments Details Value
specifies shapes according to a column in a data frame
1 2 3 4 5 6 7 8 9 10 11 12 13 |
df |
a data frame with node information. |
col.id |
a character or numeric vector indicating the column name or index of node Ids. |
col.size |
a character or numeric vector indicating the column name or index of node size. |
color |
a vector character of length two indicating the range of color for node color. |
col.color |
a character or numeric vector indicating the column name or index of node color. |
shapes |
a character vector indicating the type of shape per category. 7 shapes are available: "circle", "cross", "diamond", "rectangle, "star", "triangle", "y" |
col.shape |
a character or numeric vector indicating the column name or index of node shape. |
strokeCol |
a vector character of length two indicating the range of color for node stroke color. |
col.strokeCol |
a character or numeric vector indicating the column name or index of node stroke color. |
col.stroke |
a character or numeric vector indicating the column name or index of node stroke. |
node.opacity |
a character or numeric vector indicating the column name or index of node opacity. |
format a data frame with informations relative to vis.net function.
a data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.