| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
UDrawGraph.Types
Description
This file was taken from Sven Panne's page on 31st July 2001. I have since changed it a little. The version before these changes may be found in DaVinciTypes.hs.orig.
Documentation
data DaVinciCmd Source #
Constructors
| Graph GraphCmd | |
| Multi MultiCmd | |
| Menu MenuCmd | |
| AppMenu AppMenuCmd | |
| DVSet SetCmd | |
| Window WindowCmd | |
| Tcl TclCmd | |
| Special SpecialCmd | |
| DVNothing | |
| Visual VisualCmd | |
| DragAndDrop DragAndDropCmd |
Instances
| Eq DaVinciCmd Source # | |
Defined in UDrawGraph.Types | |
| Show DaVinciCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> DaVinciCmd -> ShowS # show :: DaVinciCmd -> String # showList :: [DaVinciCmd] -> ShowS # | |
Constructors
Constructors
| NewContext | |
| OpenContext ContextId | |
| SetContext ContextId | |
| SetContextWindow ContextId WindowId |
data FileMenuCmd Source #
Constructors
| ClearGraph | |
| OpenGraph Filename | |
| OpenGraphPlaced Filename | |
| OpenStatus Filename | |
| SaveGraph Filename | |
| SaveStatus Filename | |
| Print (Maybe Filename) | |
| Close | |
| Exit |
Instances
| Eq FileMenuCmd Source # | |
Defined in UDrawGraph.Types | |
| Show FileMenuCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> FileMenuCmd -> ShowS # show :: FileMenuCmd -> String # showList :: [FileMenuCmd] -> ShowS # | |
data ViewMenuCmd Source #
Constructors
| OpenNewView | |
| OpenSurveyView | |
| FullScale | |
| FitScaleToWindow | |
| Scale (Maybe Int) | |
| GraphInfo | |
| DaVinciInfo |
Instances
| Eq ViewMenuCmd Source # | |
Defined in UDrawGraph.Types | |
| Show ViewMenuCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> ViewMenuCmd -> ShowS # show :: ViewMenuCmd -> String # showList :: [ViewMenuCmd] -> ShowS # | |
data NavigationMenuCmd Source #
Constructors
| SelectParents [NodeId] | |
| SelectSiblings [NodeId] | |
| SelectChilds [NodeId] | |
| SelectChildren [NodeId] | |
| Navigator (Maybe (NodeId, Direction, Bool)) | |
| Find (Maybe (String, Bool, Bool)) |
data AbstractionMenuCmd Source #
Constructors
| HideSubgraph [NodeId] | |
| ShowSubgraph [NodeId] | |
| RestoreAllSubgraphs | |
| HideEdges [NodeId] | |
| ShowEdges [NodeId] | |
| RestoreAllEdges |
Instances
| Eq AbstractionMenuCmd Source # | |
Defined in UDrawGraph.Types Methods (==) :: AbstractionMenuCmd -> AbstractionMenuCmd -> Bool # (/=) :: AbstractionMenuCmd -> AbstractionMenuCmd -> Bool # | |
| Show AbstractionMenuCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> AbstractionMenuCmd -> ShowS # show :: AbstractionMenuCmd -> String # showList :: [AbstractionMenuCmd] -> ShowS # | |
data LayoutMenuCmd Source #
Constructors
| ImproveAll | |
| ImproveVisible | |
| CompactAll | |
| Orientation Orient |
Instances
| Eq LayoutMenuCmd Source # | |
Defined in UDrawGraph.Types Methods (==) :: LayoutMenuCmd -> LayoutMenuCmd -> Bool # (/=) :: LayoutMenuCmd -> LayoutMenuCmd -> Bool # | |
| Show LayoutMenuCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> LayoutMenuCmd -> ShowS # show :: LayoutMenuCmd -> String # showList :: [LayoutMenuCmd] -> ShowS # | |
data AppMenuCmd Source #
Constructors
| CreateMenus [MenuEntry] | |
| CreateIcons [IconEntry] | |
| ActivateMenus [MenuId] | |
| ActivateIcons [IconId] | |
| ControlFileEvents |
Instances
| Eq AppMenuCmd Source # | |
Defined in UDrawGraph.Types | |
| Show AppMenuCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> AppMenuCmd -> ShowS # show :: AppMenuCmd -> String # showList :: [AppMenuCmd] -> ShowS # | |
Constructors
| Title String | |
| ShowMessage String | |
| ShowStatus String | |
| Position Int Int | |
| Size Int Int | |
| Raise | |
| Iconify | |
| Deiconify | |
| Activate | |
| Deactivate | |
| FileBrowser Bool String String String String [Btype] Bool |
data SpecialCmd Source #
Constructors
| SelectNodes [NodeId] | |
| SelectEdge EdgeId | |
| FocusNode NodeId | |
| FocusNodeAnimated NodeId | |
| ShowUrl String | |
| Version |
Instances
| Eq SpecialCmd Source # | |
Defined in UDrawGraph.Types | |
| Show SpecialCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> SpecialCmd -> ShowS # show :: SpecialCmd -> String # showList :: [SpecialCmd] -> ShowS # | |
Constructors
| NewRules [VisualRule] | |
| AddRules [VisualRule] |
data DragAndDropCmd Source #
Constructors
| DraggingOn | |
| DragAndDropOn | |
| DraggingOff | |
| NewNodeAtCoord NodeUpdate | |
| NewEdgeAndNodeAtCoord NodeUpdate EdgeUpdate |
Instances
| Eq DragAndDropCmd Source # | |
Defined in UDrawGraph.Types Methods (==) :: DragAndDropCmd -> DragAndDropCmd -> Bool # (/=) :: DragAndDropCmd -> DragAndDropCmd -> Bool # | |
| Show DragAndDropCmd Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> DragAndDropCmd -> ShowS # show :: DragAndDropCmd -> String # showList :: [DragAndDropCmd] -> ShowS # | |
data DaVinciAnswer Source #
Constructors
Instances
| Eq DaVinciAnswer Source # | |
Defined in UDrawGraph.Types Methods (==) :: DaVinciAnswer -> DaVinciAnswer -> Bool # (/=) :: DaVinciAnswer -> DaVinciAnswer -> Bool # | |
| Ord DaVinciAnswer Source # | |
Defined in UDrawGraph.Types Methods compare :: DaVinciAnswer -> DaVinciAnswer -> Ordering # (<) :: DaVinciAnswer -> DaVinciAnswer -> Bool # (<=) :: DaVinciAnswer -> DaVinciAnswer -> Bool # (>) :: DaVinciAnswer -> DaVinciAnswer -> Bool # (>=) :: DaVinciAnswer -> DaVinciAnswer -> Bool # max :: DaVinciAnswer -> DaVinciAnswer -> DaVinciAnswer # min :: DaVinciAnswer -> DaVinciAnswer -> DaVinciAnswer # | |
| Read DaVinciAnswer Source # | |
Defined in UDrawGraph.Types Methods readsPrec :: Int -> ReadS DaVinciAnswer # readList :: ReadS [DaVinciAnswer] # | |
| Show DaVinciAnswer Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> DaVinciAnswer -> ShowS # show :: DaVinciAnswer -> String # showList :: [DaVinciAnswer] -> ShowS # | |
Instances
| Eq Attribute Source # | |
| Show Attribute Source # | |
| HasModifyValue Attribute DaVinciGraph DaVinciNode # | |
Defined in UDrawGraph.Graph Methods modify :: Typeable value => Attribute -> DaVinciGraph -> DaVinciNode value -> IO () # | |
data NodeUpdate Source #
Instances
| Eq NodeUpdate Source # | |
Defined in UDrawGraph.Types | |
| Show NodeUpdate Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> NodeUpdate -> ShowS # show :: NodeUpdate -> String # showList :: [NodeUpdate] -> ShowS # | |
data EdgeUpdate Source #
Constructors
| DeleteEdge EdgeId | |
| NewEdge EdgeId Type [Attribute] NodeId NodeId | |
| NewEdgeBehind EdgeId EdgeId Type [Attribute] NodeId NodeId |
Instances
| Eq EdgeUpdate Source # | |
Defined in UDrawGraph.Types | |
| Show EdgeUpdate Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> EdgeUpdate -> ShowS # show :: EdgeUpdate -> String # showList :: [EdgeUpdate] -> ShowS # | |
data AttrChange Source #
Instances
| Eq AttrChange Source # | |
Defined in UDrawGraph.Types | |
| Show AttrChange Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> AttrChange -> ShowS # show :: AttrChange -> String # showList :: [AttrChange] -> ShowS # | |
data MixedUpdate Source #
Constructors
| NU NodeUpdate | |
| EU EdgeUpdate |
Instances
| Eq MixedUpdate Source # | |
Defined in UDrawGraph.Types | |
| Show MixedUpdate Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> MixedUpdate -> ShowS # show :: MixedUpdate -> String # showList :: [MixedUpdate] -> ShowS # | |
data TypeChange Source #
Instances
| Eq TypeChange Source # | |
Defined in UDrawGraph.Types | |
| Show TypeChange Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> TypeChange -> ShowS # show :: TypeChange -> String # showList :: [TypeChange] -> ShowS # | |
Constructors
Constructors
| IconEntry IconId Filename String | |
| BlankIconEntry |
data VisualRule Source #
Instances
| Eq VisualRule Source # | |
Defined in UDrawGraph.Types | |
| Show VisualRule Source # | |
Defined in UDrawGraph.Types Methods showsPrec :: Int -> VisualRule -> ShowS # show :: VisualRule -> String # showList :: [VisualRule] -> ShowS # | |
Instances
| Eq ContextId Source # | |
| Ord ContextId Source # | |
| Show ContextId Source # | |