/vis_network

Elixir bindings to vis-network

Primary LanguageElixirApache License 2.0Apache-2.0

VisNetwork

Elixir bindings to vis-network.

You can use it inside Livebook to plot network.

See the documentation.

Installation

Inside Livebook

You most likely want to use VisNetwork in Livebook, in which case you can call Mix.install/2:

Mix.install([
  {:vis_network, "~> 0.1.0"},
  {:kino, "~> 0.1.0"}
])

You will also want Kino to ensure Livebook renders the graphics nicely. There is an introductory guide to VisNetwork in the "Explore" section of your Livebook application.

In Mix projects

You can add the :vis_network dependency to your mix.exs:

def deps do
  [
    {:vis_network, "~> 0.1.0"}
  ]
end