Skip to content

mariovmendes/Graphical-Sequences

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Graphical-Sequences

Small project for the Discrete Mathematics course.

Developed using the Python Programming Language 🐍

The main purpose of this program is to check if a given sequence is a graphical sequence and represent it using nodes and edges.

Preview

Graphical representation of a sequence.

alt text

Installation

Use the package manager pip to install graphviz.

pip install graphviz

Graphviz Usage

import graphviz

# Creates Graph
g = graphviz.Graph(format='png')

# Adds a new node to the graph
g.node("node1")

# Creates a new connection between node1 and node2
g.edge("node1","node2")

# Generates graph output file
g.view()

License

MIT

About

Graphical representation of sequences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages