As of 4.0, the network consists of individual modules which handle specific parts of the network. These modules have their own docs, options, methods and events which you can access by clicking on the modules in the list below.
canvas | Handles the HTML part of the network. |
configure | Generates an interactive option editor with filtering. |
rendering | Handles the rendering aspect of vis. It governs the render loop, it draws the nodes and edges and provides events to allow users to hook into the drawing. |
groups | Contains the groups and some options on how to handle nodes with non-existing groups. |
nodes | Handles the creation and deletion of nodes and contains the global node options and styles. |
edges | Handles the creation and deletion of edges and contains the global edge options and styles. |
layout | Governs the initial and hierarchical positioning. |
physics | Does all the simulation moving the nodes and edges to their final positions, also governs stabilization. |
view | Acts as the camera that looks on the canvas. Does the animation, zooming and focusing. |
interaction | Used for all user interaction with the network. Handles mouse and touch events as well as the navigation buttons and the popups. |
selection | Handles the selection of nodes and edges. |
clustering | Provides the clustering api, giving users full control over the formed clusters. |
manipulation | Supplies an API and optional GUI to alter the data in the network. |
This is a list of all the methods in the public API. They are collected here from all individual modules.
This is a list of all the events in the public API. They are collected here from all individual modules.