|
definition: |
nodeTextSvg :: String -> Point -> XmlExp
nodeTextSvg label (x,y) = XElem "text" [("x",(show x)),
("y",(show (y+5))),
("text-anchor","middle"),
("font-size","12")]
[XText label]
|
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
place text inside a svg-node TODO: include text-length |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{(,)}) |-> {XElem}}
|
|
name: |
nodeTextSvg |
|
precedence: |
no precedence defined |
|
result-values: |
{XElem}
|
|
signature: |
String -> (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 |