gl-modules-viz

0.0.0 • Public • Published

gl-modules-viz

Just experimenting with making a force-directed graph of the core modules available in the modules.gl ecosystem, potentially to include on the home page.

demo

gl-modules-viz

Usage

The visualisation as a module too, so it's easy to include anywhere with browserify and npm.

svg = viz(opts)

Creates and returns an svg element containing the visualisation. Takes the following options:

  • opts.colors.bg: background color for the SVG.
  • opts.colors.fg: foreground color, i.e. the links, text and nodes.
  • opts.colors.hightlight: the color to use when highlighting a node.

/gl-modules-viz/

    Package Sidebar

    Install

    npm i gl-modules-viz

    Weekly Downloads

    2

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • hughsk