Description Usage Arguments Value Examples
ECharts style 力导向图 graph visulize the social network matrix data.
1 2 3 4 5 6 7 8 9 10 11 | eForce(networkMatrix, propertyDf = NULL, size = NULL, maxR = 25,
minR = 15, density = 0.05, attractiveness = 1.2,
showLabel = TRUE, theme = "default", title = NULL,
subtitle = NULL, title.x = "center", title.y = "top",
legend = TRUE, legend.x = "left", legend.y = "top",
legend.orient = "horizontal", toolbox = TRUE,
toolbox.orient = "horizontal", toolbox.x = "right",
toolbox.y = "top", dataView = FALSE, readOnly = TRUE,
mark = TRUE, dataZoom = FALSE, tooltip = TRUE,
tooltip.trigger = "item", formatter = "", calculable = FALSE,
xlab = NULL, ylab = NULL, opt = list())
|
networkMatrix |
required, a symmetric matrix, each cell value indicates the weight of the two nodes and the 0 or NA cell would not be counted in. The matrix should have colnames or rownames. |
propertyDf |
optional, dataframe which contain the metadata for the nodes. It could contain category, value and color columns. The colnames and rownames are required. |
opt |
力导向图选项. |
The HTML code as a character string.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.