hubigraph: A haskell wrap for Ubigraph

[ bsd3, graphics, library ] [ Propose Tags ]
Versions 0.3.1, 0.3.2
Dependencies base (>=3 && <5), containers (>=, haxr (>=3000.2.1), mtl (>= [details]
License BSD-3-Clause
Author Kohei Ozaki
Maintainer Kohei Ozaki <>
Category Graphics
Home page
Uploaded by KoheiOzaki at Thu May 13 22:18:33 UTC 2010
Distributions NixOS:0.3.2
Downloads 816 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Hubigraph is a Haskell wrapper for Ubigraph, which is a tool for visualizing dynamic graphs.

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for hubigraph-0.3.1

[back to package description]



a Haskell wrap for Ubigraph (


It provides a shortcut to draw a graph in ubigraph (by calling XML-RPC internally.)


Make sure Ubigraph server is started before using this library.

 import Graphics.Ubigraph

 u x = initHubigraph "http://localhost:20738/RPC2" >>= runHubigraph x

 main = u $ mkRing 10

 mkRing n = do mapM_ (newVertexWithID) [0..(n-1)]
               mapM_ (newEdge') [0..(n-1)]
               sid <- newVStyle 0
               setVStyleAttr (VColor "#ff0000") sid
               setVStyleAttr (VShape Sphere) sid
               mapM_ (changeVStyle sid) [0..(n-1)]
     where newEdge' e = newEdge (e, (e+1) `mod` n)


Ubigraph (


$ cabal install hubigraph


The BSD3 License