Skip to content

TimNekk/Grapher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grapher

CLI tool that works with graphs

Граф

Features

Usage

There is no data validation, so beware of incorrect input!

  • Input from console and file are identical
  • Input file (input.txt), Output file (output.txt)

Adjacency matrix

Adjacency matrix

4
0 1 0 1
0 0 1 1
0 1 0 0
1 0 1 0

Incidence matrix

Adjacency matrix

4 5
1 0 0 1 0
-1 1 0 0 1
0 1 -1 0 0
0 0 1 1 -1

Edge list

Edge list

7
1 2
1 4
2 3
2 4
3 2
4 1
4 3

Adjacency list

Adjacency list

4
2 2 4
2 3 4
1 2
2 1 3

Contributing

Bug reports and/or pull requests are welcome

License

The repository is available as open source under the terms of the Apache License, Version 2.0

About

CLI tool that works with graphs

Resources

License

Stars

Watchers

Forks