Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

NodeSecure/vis-network

Repository files navigation

Vis-network

version Maintenance OpenSSF Scorecard mit build

NodeSecure Vis.js network front-end module.

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm i @nodesecure/vis-network
# or
$ yarn add @nodesecure/vis-network

Usage example

// Import Third-party Dependencies
import { NodeSecureDataSet, NodeSecureNetwork } from "@nodesecure/vis-network";

document.addEventListener("DOMContentLoaded", async () => {
  const secureDataSet = new NodeSecureDataSet();
  await secureDataSet.init();

  new NodeSecureNetwork(secureDataSet);
});

API

Scripts

The project scripts are used for those who want to test the code.

  • npm start to start an httpserver from ./dist
  • npm run build to build the ./example with esbuild.

Note: The start command run the build command before launching the http server.

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):

Gentilhomme
Gentilhomme

💻 📖 👀 🛡️ 🐛
im_codebreaker
im_codebreaker

💻
PierreD
PierreD

💻
Kouadio Fabrice Nguessan
Kouadio Fabrice Nguessan

🚧

License

MIT