Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a206601

Browse files
authored
Create GraphFormat
1 parent a5feaf5 commit a206601

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

‎docs/GraphFormat

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Graph Format
2+
3+
```
4+
graph (un)directed`
5+
<node-x> <node-y> [edge-weight]
6+
```
7+
8+
***Example Graph File***
9+
10+
![](https://github.com/srohit0/BasicGraphAlgorithmsCpp/blob/master/docs/ExampleGraph.JPG)
11+
12+
13+
14+
```
15+
graph directed
16+
n1 n2 2
17+
n1 n3 4
18+
n2 n3 1
19+
n2 n4 4
20+
n2 n5 2
21+
n3 n5 3
22+
n4 n6 2
23+
n5 n4 3
24+
n5 n6 2
25+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /