Skip to main content

QGraphViz

A PyQT based GraphViz builder/renderer

Introduction

I was searching a handy tool to code graphs using python then visualize them within my software. I found about graphviz which is a great tool to build graphs. The problem is that you need to install the graphviz software in order to compile your file and render it. There is a graphviz package on PYPI that allows creating dot code that can then be processed by graphviz, but in practice, you need to install graphviz and somehow add it to your path in order to execute the render command.

PyGraphviz is another package that can be used. But as you can read in their documentation, you still need to install Graphviz.

I also found this visualizer based on pyQt4. It is a simple Qt based visualizer that tracks the updates on the .gv file and redraws it in realtime: DDorch/GraphVizLiveUpdateViewer

So since I didn't find any package out there that satifies my needs, I decided to create a pyQT5 based Graphviz tool that can visualize Graphviz code without the need to install Graphviz and provide it with MIT licence, so that other people can simply use it in their software.

Objective

Build python pyQT5 based QWidget that can visualize graphs and allow realtime interaction with graphs add edges and nodes, change attributes ...

Requirements

As its name suggests, this module needs you to install pyqt5 first.

pip install pyqt5

Installation

pip install QGraphViz

Actual status

  1. Simple graphs visualization (nodes + edges)
  2. Graph nodes are not yet manipulable
  3. File parsing is not implemented yet

Download files

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

Source Distribution

QGraphViz-0.0.2.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file QGraphViz-0.0.2.tar.gz.

File metadata

  • Download URL: QGraphViz-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for QGraphViz-0.0.2.tar.gz
Algorithm Hash digest
SHA256 84f41d3586fdf1f3c9b12104fbb9fe0f754b8a7174cc7fb612650adf3bf19c30
MD5 1d35077a083303cdcfc0fe4f2e8fe614
BLAKE2b-256 fc6b87c81c935e1cb84d251d78ff0ac1b42c402ee68c08b2ea412689d4908565

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 Sentry Error logging StatusPage Status page