Skip to main content

Open-source package for graphs,graph-algorithms

Project description

XGraph
======

|PyPi| |MIT|

- Build Status(Windows/Linux)
|Build|

About
-----

Is an open-source graph package that contains algorithms for
undirected/directed graphs and its written in **Python3.6** .

Installation Instructions
-----
Install with **python3 -m pip install xgraph** or **pip3 install xgraph** .



Code Example
~~~~~~~~~~~~

.. code:: python

from XGraph import *

if __name__ == "__main__":

g = Graph() # Create the Graph instance

# Create the Weighted Edges
g.addEdge('a','b',1)
g.addEdge('b','c',2)
g.addEdge('c','a',3)
g.addEdge('c','d',6)

# Print the graph
printGraph(g)

.. |Build| image:: https://travis-ci.org/DigitMan27/XGraph.svg?branch=master
:target: https://travis-ci.org/DigitMan27/XGraph

.. |Pypi| image:: https://badge.fury.io/py/XGraph.svg
:target: https://badge.fury.io/py/XGraph

.. |MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg
:target: https://opensource.org/licenses/MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for XGraph, version 1.4.0
Filename, size File type Python version Upload date Hashes
Filename, size XGraph-1.4.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page