sigmajs (version 0.1.5)

sg_add_images: Add images to nodes

Description

Add images to nodes with the Custom Shapes plugin.

Usage

sg_add_images(sg, data, url, ...)

Arguments

sg

An object of class sigmajsas intatiated by sigmajs.

data

Data.frame containing columns.

url

URL of image.

...

Any other column.

See Also

Official documentation

Examples

Run this code
# NOT RUN {
demo("custom-shapes", package = "sigmajs")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace