Hi Tak,
In that example, I've used Nodes=new Array() as a place to store each node,
which is of the form
function Node(x,y,id,label,col){
this.x=x
this.y=y
this.id=id
this.label=label
this.col=col
this.links=new Array()
this.info=label
}
that is, the information about which nodes
Hi Tak.
takpoli:
To display a text, we place a string x2y2 into a TextNode by:
td = document.createTextNode(x2y2)
and link it as the first child of a text object. How can we get back
the string from td? Is there some utility can do that for us?
Yes you can use the ‘nodeValue’ or
The SVG 1.1 spec (see http://www.w3.org/TR/SVG11/text.html#TextOnAPath ) tells
us that the use of a negative value for startOffset is an error. However, in
the example at
http://srufaculty.sru.edu/david.dailey/svg/newstuff/textpath1.svg
as seen in IE/ASV, I've used it for a rather nice effect.
3 matches
Mail list logo