CurryInfo: icurry-3.2.0 / TermGraph.SVG.dgNodeSvg

definition: Info
 
dgNodeSvg :: DGNode -> Point -> XmlExp
dgNodeSvg node p = let
          sColour = strokeColourDG node
          fColour = fillColourDG node
          nlabel  = cutLabel (labelDG node)
          nid     = nodeIDDG node
          width   = calcNodeWidth nlabel
        in case (nodeTypeDG node) of
          FuncNode   -> funcNodeSvg nlabel sColour fColour nid p width
          ConsNode  -> constNodeSvg nlabel sColour fColour nid p width
          ChoiceNode -> funcNodeSvg nlabel sColour fColour nid p width
          FreeNode   -> funcNodeSvg nlabel sColour fColour nid p width
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
draw a single node in svg-format
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> {XElem}}
name: Info
 dgNodeSvg
precedence: Info
 no precedence defined
result-values: Info
 {XElem}
signature: Info
 DGNode -> (Prelude.Float, Prelude.Float) -> XML.XmlExp
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term