You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-5Lines changed: 29 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,14 +140,23 @@ For self-compiled installations using CMake, execute the following from the comm
140
140
141
141
## How to use
142
142
143
-
To use the library **simply include the header file `CXXGraph.hpp`**, (make sure to add the [include folder](https://github.com/ZigRazor/CXXGraph/tree/master/include) to your compiler's inlcude path).
143
+
[//]: #(To use the library **simply include the header file `CXXGraph.hpp`**, (make sure to add the [include folder](https://github.com/ZigRazor/CXXGraph/tree/master/include) to your compiler's inlcude path).)
144
+
To use the library, simply include the `CXXGraph/CXXGraph.hpp` file at the top of your file.
145
+
146
+
While compiling the file, include the two include paths mentioned in the `To compile and run the program` section in the command.
144
147
145
148
CXXGraph revolves around the graph object which contains nodes and edges. This object can then be manipulated with a wide variety of algorithms. Please see the [examples section](#examples), [examples folder](https://github.com/ZigRazor/CXXGraph/tree/master/examples) and [website](https://zigrazor.github.io/CXXGraph/) for more information
146
149
147
150
## Examples
148
151
149
-
In this example, the shortest path between nodeA and nodeC is obtained using Dijkstra's algorithm.
152
+
In this example file `example.cpp`, the shortest path between nodeA and nodeC is obtained using Dijkstra's algorithm.
0 commit comments