[Haskell-cafe] Re: tweak vacuum-* output
Gleb Alexeyev
gleb.alexeev at gmail.com
Fri May 14 06:55:56 EDT 2010
The new version (0.2.0.1) is on Hackage.
vacuum-ubigraph now depends on Hubigraph, basic customization is now
possible, e.g.:
> import System.Vacuum.Ubigraph
> import Graphics.Ubigraph
> myNodeStyle n = map (setColor "#ff0000") $ defaultNodeStyle n
> where
> setColor color (VColor _) = VColor color
> setColor _ s = s
> myview = customView (defaultOptions { nodeStyle = myNodeStyle })
defaultServer
> main = myview $ cycle [1..5]
Any feedback appreciated.
More information about the Haskell-Cafe
mailing list