Skip to content

SoleBridge/graph-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Graph Tool Documentation

Overview

The Graph Tool is a graph drawing program written in Go. It allows users to:

  • Place and label vertices.
  • Recolor vertices.
  • Dynamically add/remove vertices and edges,
  • Drag and reposition vertices.
  • Output graph informmation, such as degrees of vertices and the adjacency matrix.

Prerequisites

Before compiling the program, ensure you have Go installed.

Clone the repository:

git clone https://github.com/SoleBridge/graph-Tool.git

Compilation

Navigate to the project directory and run:

go build -o graph-tool main.go

to generate the executable file graph-tool.

Alternatively, you can run:

go run .

to compile and run the code.

Features

  • Vertex Placement: Add vertices and label them dynamically.
  • Edge Drawing: Add edges using straight lines or Bezier curves.
  • Interactive Manipulation: Drag and reposition vertices, add or remove components dynamically.
  • Curves: Parallel edges and lops are drawn with Brezier curves.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages