visNetwork (version 0.1.1)

visOptions: Network visualization general options

Description

Network visualization general options. For full documentation, have a look at visDocumentation.

Usage

visOptions(graph, width = NULL, height = NULL, highlightNearest = FALSE,
  nodesIdSelection = FALSE, autoResize = NULL, clickToUse = NULL,
  manipulation = NULL)

Arguments

graph
: a visNetwork object
width
: String. Default to "100%". The width of the network in pixels or as a percentage.
height
: String. Default to "100%". The height of the network in pixels or as a percentage.
highlightNearest
: Custom Option. Boolean. Default to false. Highlight nearest when clicking a node ? This options use click event. Not available for DOT and Gephi.
nodesIdSelection
: Custom Option. Boolean. Default to false. A little bit experimental. Add an id node selection. This options use click event. Not available for DOT and Gephi.
autoResize
: Boolean. Default to true. If true, the Network will automatically detect when its container is resized, and redraw itself accordingly. If false, the Network can be forced to repaint after its container has been resized using the function redraw() and se
clickToUse
: Boolean. Default to false. When a Network is configured to be clickToUse, it will react to mouse, touch, and keyboard events only when active. When active, a blue shadow border is displayed around the Network. The Network is set active by clicking on it
manipulation
: Just a Boolean

See Also

visNodes for nodes options, visEdges for edges options, visGroups for groups options, visLayout & visHierarchicalLayout for layout, visPhysics for physics, visInteraction for interaction, ...