Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "d3v3adaptor"

Index

Classes

Functions

Functions

d3adaptor

  • provides an interface for use with d3:

    • uses the d3 event system to dispatch layout events such as: o "start" (start layout process) o "tick" (after each layout iteration) o "end" (layout converged and complete).
    • uses the d3 timer to queue layout iterations.
    • sets up d3.behavior.drag to drag nodes o use node.call(<the returned instance of Layout>.drag) to make nodes draggable returns an instance of the cola.Layout itself with which the user can interact directly.

    Returns D3StyleLayoutAdaptor

Generated using TypeDoc