CurryInfo: graphviz-3.0.0 / ShowDotGraph.showDotGraphWithAttrs

definition: Info
 
showDotGraphWithAttrs :: String -> DotGraph -> String
showDotGraphWithAttrs oldattrs dotgraph = case dotgraph of
  DGraph name attrs nodes edges ->
    "digraph \"" ++ name ++ "\"" ++ attrsbody2dot True attrs nodes edges
  UGraph name attrs nodes edges ->
    "graph \"" ++ name ++ "\"" ++ attrsbody2dot False attrs nodes edges
 where
  attrsbody2dot directed attrs nodes edges =
    "{\n" ++ (if null oldattrs then "" else oldattrs ++ "\n")
          ++ concatMap attr2dot attrs
          ++ concatMap node2dot nodes
          ++ concatMap (edge2dot directed) edges ++ "}\n"
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Deprecated. Use `dgraphWithAttrs` or `ugraphWithAttrs` to construct
graphs with attributes.
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{DGraph}) |-> _ || (_,{UGraph}) |-> _}
name: Info
 showDotGraphWithAttrs
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> DotGraph -> String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term