Einfaches Beispiel

myTrans :: Show a => GVTrans a  -- Typangabe, falls Knotentyp frei
myTrans = GVTrans
    { getGVProg :: Default
    , getGVFormat :: "gif"
    , isGVDirected :: False
    , getGVNID :: show
    , getGVNName :: show
    , getGVNLabel :: Nothing
    , getGVNColor :: Nothing
    , getGVNXAtts :: Nothing
    , getGVELabel :: Nothing
    , getGVEXAtts :: Nothing
    }



Johannes Waldmann 2009-11-17