Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.

nbergont/qgv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Qt graphViz display

Features :

  • Use cgraph lib (C++ API wrapper)
  • Support edges : label on edge, simple arrow both direction
  • Support Nodes : box or ellipse shape, image on Node
  • Support subGraphs
  • Interactions with node and edge (context menu and double click)
  • Zoom/move on graph
  • Tested only on dot engine
  • Only 6 headers/sources files to add

Screen capture :

Screen capture

Installation :

For macOS :

  • Download qgv sources from GIT : git clone https://github.com/nbergont/qgv.git
  • Install Brew packet manager : https://brew.sh
  • Install Graphviz via brew : $ brew install graphviz
  • Install pkg-config via brew : $ brew install pkg-config
  • Open with Qt Creator & compile

TODO :

  • Support more attributes of Graphviz
  • Add more comments
  • Support head/tail label on edge
  • Fully support layout from dot language (may be works...)
  • Dynamicaly move node and redraw layout ? (I dont know if it's possible) : not possible

Good lecture on subject :

Other similar projects (you must look before lose time with GraphViz) :