Netoviz (Network Topology Visualizer) is a tool to visualize network topology data that based on RFC8345.
See also Netomox (Network topology modeling toolbox), the tool to construct RFC8345 based network topology data.
A live demo (with limited functions) can be viewed at the following URI,
There is netoviz docker container on Docker Hub.
You can run it with docker and use it via http://localhost:3000
.
docker pull netoviz/allinone
docker run -p3000:3000 --name nv-allinone netoviz/allinone
If you change the port number to access it, set -p
option.
docker run -p3005:3000 --name nv-allinone netoviz/allinone
^^^^
Blog
- Batfish を使ってネットワーク構成を可視化してみよう (1) - Qiita
- Batfish を使ってネットワーク構成を可視化してみよう (2) - Qiita
- Batfish を使ってネットワーク構成を可視化してみよう (3) - Qiita
- モデルベースのNW図で差分を可視化する - Qiita
- ネットワーク構成図のレイアウト処理を考えてみる (1) - Qiita
- ネットワーク構成図のレイアウト処理を考えてみる (2) - Qiita
- Batfish を使ってネットワーク構成を可視化してみよう・改 - Qiita
Slide
- 「ネットワーク図」のモデル化とモデルを起点にした自動化の可能性 / onic2018 - Speaker Deck
- ここまでできる! 設定ファイルからのネットワーク構成可視化 / npstudy17 - Speaker Deck
This application depends on:
This application depends on:
npm install [--legacy-peer-deps]
npm run dev
Build (compile and minify) script for production,
npm run build
and run the application.
npm run start
Build all-in-one container. (See detail: Dockerfile for all-in-one container. NOTICE: It copies current sources/packages and rebuild netoviz.)
docker build -t netoviz/allinone .
# or
npm run docker-build
Run.
docker run -p3000:3000 --name nv-allinone netoviz/allinone
Debug.
docker run -it netoviz/allinone /bin/sh
Generate documents with JSDoc.
npm run doc
- libraries
fig/
: UML class diagramlib/diagram
: Visualizer libraryserver/graph
: RFC8345 data model and data convert library
static/model
: Topology data files (json)- Each topology data files are generated by Netomox. (see. netomox-examples)
server
: API Server
Application (see pages)
- Diagram
/model/:network/:snapshot/:modelFile[?visualizer=:visualizer]
Server (JSON API) (see server/api.js)
- Topology data handling
- GET
/api/models
(return topology model list) - POST
/api/graph/:graphName/:network/:snapshot/:jsonName
- to save layout (for nested-graph)
- GET
/api/graph/:graphName/:network/:snapshot/:jsonName
- return diagram data converted from RFC8345-based topology model.
- GET
prettier
npm run format
eslint
npm run lint
npm run lint:fix