Skip to main content

Un petit module pour créer des graphes (non orienté, orienté ou bi-partie)

Project description

Objectif

simplepygraph est un module de manipulation de graphe permettant à la fois de manipuler la structure et de la visualiser dans un notebook. Il est notamment utile pour des enseignant•e•s souhaitant créer des ressources de cours autours des graphes, arbres etc. Le module s'appuie sur deux modules connus :

  • un modèle qui est un graphe au sens de networkx
  • une vue qui est un graphe au sens de graphviz

Installation et utilisation

  1. Installer l'outil graphviz

  2. Installer le module simplepygraph :

    pip3 install simplepygraph
    
  3. Utiliser (plutôt dans un notebook) :

    import simplepygraph as spg
    
    mon_graphe = spg.Graph(5)
    

Documentations

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

simplepygraph-2.0.5.tar.gz (15.5 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