-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A haskell wrap for Ubigraph -- -- Hubigraph is a Haskell wrapper for Ubigraph, which is a tool for -- visualizing dynamic graphs. @package hubigraph @version 0.3.2 module Graphics.Ubigraph.Base type Hubigraph = ReaderT Ubigraph IO data Ubigraph Ubigraph :: String -> Ubigraph server :: Ubigraph -> String type VertexID = Int type EdgeID = Int type Edge = (VertexID, VertexID) type Color = String data Shape Cone :: Shape Cube :: Shape Dodecahedron :: Shape Icosahedron :: Shape Octahedron :: Shape Sphere :: Shape Tetrahedron :: Shape Torus :: Shape data Stroke Solid :: Stroke Dashed :: Stroke Dotted :: Stroke None :: Stroke class Attr a toPair :: Attr a => a -> (String, String) data VAttr VColor :: Color -> VAttr VShape :: Shape -> VAttr VShapedetail :: Int -> VAttr VLabel :: String -> VAttr VSize :: Float -> VAttr VFontcolor :: Color -> VAttr VFontfamily :: String -> VAttr VFontsize :: Int -> VAttr VVisible :: Bool -> VAttr VCallback :: String -> VAttr data EAttr EColor :: Color -> EAttr ELabel :: String -> EAttr EFontcolor :: Color -> EAttr EFontfamily :: String -> EAttr EFontsize :: Int -> EAttr ESpline :: Bool -> EAttr EStrength :: Float -> EAttr EOriented :: Bool -> EAttr EStroke :: Stroke -> EAttr EWidth :: Float -> EAttr EArrow :: Bool -> EAttr EArrowPosition :: Float -> EAttr EArrowRadius :: Float -> EAttr EArrowLength :: Float -> EAttr EArrowReverse :: Bool -> EAttr EShowstrain :: Bool -> EAttr EVisible :: Bool -> EAttr type StyleID = Int runHubigraph :: ReaderT r m a -> r -> m a initHubigraph :: Monad m => String -> m Ubigraph instance Show Stroke instance Show Shape instance Attr EAttr instance Attr VAttr module Graphics.Ubigraph.Style changeVStyle :: StyleID -> VertexID -> Hubigraph Bool newVStyle :: StyleID -> Hubigraph StyleID newVStyleWithID :: StyleID -> StyleID -> Hubigraph Bool setVStyleAttr :: VAttr -> StyleID -> Hubigraph Bool changeEStyle :: StyleID -> EdgeID -> Hubigraph Bool newEStyle :: StyleID -> Hubigraph StyleID newEStyleWithID :: StyleID -> StyleID -> Hubigraph Bool setEStyleAttr :: EAttr -> StyleID -> Hubigraph Bool module Graphics.Ubigraph clear :: Hubigraph Bool newVertex :: Hubigraph VertexID removeVertex :: VertexID -> Hubigraph Bool newEdge :: Edge -> Hubigraph EdgeID removeEdge :: EdgeID -> Hubigraph Bool newVertexWithID :: VertexID -> Hubigraph Bool newEdgeWithID :: EdgeID -> Edge -> Hubigraph Bool setVAttr :: VAttr -> VertexID -> Hubigraph Bool setEAttr :: EAttr -> EdgeID -> Hubigraph Bool