-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network-map-viewer react component (extracted from gridsuite' gridstu…
…dy-app) (#263) * adds a network-map-viewer react component (extracted from gridsuite's gridstudy-app) * Update Node.js * renames function to prevent names conflicts with forked code * removes a no longer used dependency Signed-off-by: Sylvain Leclerc <[email protected]> Co-authored-by: Christian Biasuzzi <[email protected]>
- Loading branch information
Showing
41 changed files
with
53,858 additions
and
13,141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# dependencies | ||
/node_modules | ||
|
||
# production | ||
/build | ||
|
||
/coverage | ||
/es | ||
/lib | ||
/umd | ||
npm-debug.log* | ||
|
||
/dist | ||
|
||
# webstorm | ||
/.idea | ||
|
||
# misc | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
/demo/node_modules | ||
/demo/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
legacy-peer-deps=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"tabWidth": 4, | ||
"singleQuote": true | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Network-map-viewer | ||
Library for a react component showing a network (substations, voltage levels, lines) over a map. | ||
|
||
To build the library: | ||
```console | ||
npm run build | ||
``` | ||
|
||
# Demo | ||
The library includes a demo react app, in the demo directory (the network-map-viewer component is instantiated in demo/src/App.js). | ||
|
||
To run the demo: | ||
```console | ||
cd demo | ||
npm run build | ||
npm start | ||
``` | ||
and point the browser to http://localhost:3000 | ||
|
||
### Notes | ||
Component's code based on Deck.gl and Mapbox-gl, extracted from the [gridstudy-app](https://github.com/gridsuite/gridstudy-app) project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
legacy-peer-deps=true |
Oops, something went wrong.