definition: |
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: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
draw a single node in svg-format |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> {XElem}} |
name: |
dgNodeSvg |
precedence: |
no precedence defined |
result-values: |
{XElem} |
signature: |
DGNode -> (Prelude.Float, Prelude.Float) -> XML.XmlExp |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |