All Projects → esnet → React Network Diagrams

esnet / React Network Diagrams

Licence: other
Contains ESnet network mapping and circuit rendering code, as used in the ESnet portal.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Network Diagrams

Geo Data Viewer
🗺️ Geo Data Viewer w/0 Py 🐍 || pyWidgets ⚙️ || pandas 🐼 || @reactjs ⚛️ required to gen. some snazzy maps 🗺️ with keplerGL ...
Stars: ✭ 115 (-16.67%)
Mutual labels:  map
Vue Visualization
Vue 结合 D3.js 进行数据可视化开发的练手案例
Stars: ✭ 125 (-9.42%)
Mutual labels:  map
Ahorn
Visual Map Maker and Level Editor for the game Celeste
Stars: ✭ 132 (-4.35%)
Mutual labels:  map
Tinycolormap
A header-only, single-file library for colormaps written in C++11
Stars: ✭ 119 (-13.77%)
Mutual labels:  map
Ios movingannotation demo
Stars: ✭ 122 (-11.59%)
Mutual labels:  map
Placepicker
Free Android Map Place Picker alternative using Geocoder instead of Google APIs
Stars: ✭ 126 (-8.7%)
Mutual labels:  map
Terrain Classic
World-wide CartoCSS port of Stamen's classic terrain style
Stars: ✭ 110 (-20.29%)
Mutual labels:  map
Simplemap
A beautifully simple map field type for Craft CMS.
Stars: ✭ 136 (-1.45%)
Mutual labels:  map
Awesome Maps
There is more than google: A collection of great online maps 🌍🗺🌎
Stars: ✭ 124 (-10.14%)
Mutual labels:  map
Mongolastic
🚥 A dataset migration tool from MongoDB to Elasticsearch and vice versa.
Stars: ✭ 131 (-5.07%)
Mutual labels:  map
React Mapbox Gl
A React binding of mapbox-gl-js
Stars: ✭ 1,683 (+1119.57%)
Mutual labels:  map
Fungen
Replace boilerplate code with functional patterns using 'go generate'
Stars: ✭ 122 (-11.59%)
Mutual labels:  map
Gourmet map
微信小程序「美食地图」——“发现最地道的美食”
Stars: ✭ 129 (-6.52%)
Mutual labels:  map
Geojson2svg
Converts geojson to svg string given svg viewport size and maps extent.
Stars: ✭ 117 (-15.22%)
Mutual labels:  map
Mapbox Gl Native Android
Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
Stars: ✭ 135 (-2.17%)
Mutual labels:  map
Cyclosm Cartocss Style
Cycle oriented CartoCSS style.
Stars: ✭ 109 (-21.01%)
Mutual labels:  map
Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Stars: ✭ 125 (-9.42%)
Mutual labels:  map
Openlayers Editor
OpenLayers Editor
Stars: ✭ 138 (+0%)
Mutual labels:  map
Vue2leaflet
Vue 2 components for Leaflet maps
Stars: ✭ 1,809 (+1210.87%)
Mutual labels:  map
Timeline
直观地显示各个历史时间段及历史地图。Visually display various historical time periods and historical maps.
Stars: ✭ 127 (-7.97%)
Mutual labels:  map

React Network Diagrams

Build Status npm version

This repository contains an initial set of React circuit drawing and network mapping components which are used within the ESnet Portal, but are not tied to ESnet, or even to network visualization.

The mapping portion of this library is used in the public facing ESnet Portal. The circuit diagrams code us used internally to track ESnet circuits in the ESDB.

Current features of the library include:

  • Circuit diagrams:
    • Basic
    • Concatenated
    • Parallel
  • Circuit couplers
  • Patch panel diagrams
  • Topology mapping
    • Higher level network traffic visualization
    • Linear, arc, bidirectional traffic and square edge types
  • Route rendering

Please browse the examples for a feel for the library, or read on to get started.

Getting started

The charts library is intended to be used with npm and the built into your project with something like webpack.

npm install react-network-diagrams --save

Once installed, you can import the necessary components from the library:

import { TrafficMap } from "react-network-diagrams";

You can then render() the traffic map in your component:

<TrafficMap width={980} height={500} margin={50}
            topology={topo}
            traffic={traffic}
            edgeColorMap={edgeColorMap}
            edgeDrawingMethod="bidirectionalArrow"
            edgeThinknessMap={edgeThinknessMap}
            edgeShapeMap={edgeShapeMap}
            nodeSizeMap={nodeSizeMap}
            nodeShapeMap={nodeShapeMap}
            stylesMap={stylesMap}
            selection={mapSelection}
            onSelectionChange={this.handleSelectionChanged} />

See the examples for more information.

Examples

To run the examples yourself you first need to run:

npm install lerna
lerna bootstrap

This will install the development dependencies into your node_modules directory.

You can then start up the test server, as well as automatic source building, by doing:

npm run start

And now, for the magic, point your browser to:

http://localhost:3000/

From now on, if you change the source code, the examples bundle will be rebuilt and the browser will refresh itself. Errors will also be reported in the browser window.

Before committing back, run:

npm run build
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].