Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolnetto authored Jan 17, 2022
1 parent c98ee0c commit 9d0a7c4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Hi, this may be interpreted as an app service or a library. Its main funcionalit

For a beginner, a graph is a bunch of dots connected by either undirected lines or directed arrows. Take a look at the following URL: https://adrianmejia.com/data-structures-for-beginners-graphs-time-complexity-tutorial/

## How to install as a package

The package allows to be used as a library. [Here is an example](https://github.com/brunolnetto/node-link-use-case) of the library use case.

1) Go to your project path (for example, NodeJS or React);
2) Install the library with the command ```npm install --save '@brunolnetto/node-link'```;
3) Import in your project with the paths from ```src``` folder. For example, '```import Graph from '@brunolnetto/node-link/src/data-structures/graph/Graph.js''```

## How to run as a service

Expand All @@ -19,11 +26,4 @@ You must follow the instructions below
4) Open a browser;
5) Type `localhost:8080` on the URL field;

## How to install as a package

The package allows to be used as a library. [Here is an example](https://github.com/brunolnetto/node-link-use-case) of the library use case.

1) Go to your project path (for example, NodeJS or React);
2) Install the library with the command ```npm install --save '@brunolnetto/node-link'```;
3) Import in your project with the paths from ```src``` folder. For example, '```import Graph from '@brunolnetto/node-link/src/data-structures/graph/Graph.js''```

0 comments on commit 9d0a7c4

Please sign in to comment.