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__":

names = ['a','b','c','d'] # node-name list
g = Graph() # Create the Graph instance

createNodes(g,names) # Create the nodes based on the names list

# 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.3.0.zip (5.2 kB view details)

Uploaded Source

File details

Details for the file XGraph-1.3.0.zip.

File metadata

  • Download URL: XGraph-1.3.0.zip
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for XGraph-1.3.0.zip
Algorithm Hash digest
SHA256 2e6df7a1c024ab58e32433a575265b0d74ebab94532cd85eac86e4af9827c632
MD5 b32502066e9f08eed4ac3818705010cd
BLAKE2b-256 dcee74eb50b759f570e6705b514d3a9ffd90a394d0f3c07494a7ffbf83ebe08b

See more details on using hashes here.

Supported by

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