Hets - the Heterogeneous Tool Set

Copyright(c) Till Mossakowski, Uni Bremen 2002-2007
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerraider@informatik.uni-bremen.de
Stabilityprovisional
Portabilitynon-portable (relies on Logic via DevGraph)
Safe HaskellNone

Taxonomy.AbstractGraphView

Contents

Description

Interface for graph viewing and abstraction. It is possible to hide sets of nodes and edges. Using a composition table for edge types, paths through hidden nodes can be displayed. Graphs, nodes, and edges are handled via descriptors (here: integers), while node and edge types are handled by user-supplied strings.

Synopsis

Documentation

data Result

Constructors

Result Descr (Maybe String) 

type Descr = Int

changeNodeType

Arguments

:: Descr

the graph id

-> Descr

the id of the to be set node

-> String

the new node type

-> GraphInfo

the enviroment

-> IO Result 

change the node type of the given node in the given graph. it firstly checks if the node exists in the graph and if the given node type is valid, then does the setting.

checkHasHiddenNodes :: Descr -> Descr -> GraphInfo -> IO Result

function to check whether the internal nodes are hidden or not

Direct manipulation of uDrawGraph

layoutImproveAll :: Descr -> GraphInfo -> IO Result

improve the layout of a graph like calling "Layout->Improve All"

showTemporaryMessage

Arguments

:: Descr 
-> GraphInfo 
-> String

message to be displayed

-> IO Result 

display a message in a uDrawGraph window controlled by AbstractGraphView

deactivateGraphWindow :: Descr -> GraphInfo -> IO Result

deactivate the input of all uDrawGraph windows;

Warning: every deactivate event must be paired an activate event

activateGraphWindow :: Descr -> GraphInfo -> IO Result

activate the input of a uDrawGraph display