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.

Source Distribution

XGraph-1.4.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page