hive/html/js-graph/vjSVG_base.js
/*! Get textContent of a trivial child of an SVG element
 * \param obj An SVG element
 * \param tagName Tag name of child
 * \return textContent of child if found, undefined otherwise.
 */
Get textContent of a trivial child of an SVG element
\param obj An SVG element
\param tagName Tag name of child
\return textContent of child if found, undefined otherwise.
Get textContent of a trivial child of an SVG element \ param obj An SVG element \ param tagName Tag name of child \ return textContent of child if found undefined otherwise .
function vjSVGGetTrivialChild(obj, tagName)
{
    for (var c = obj.firstChild; c; c = c.nextSibling)
        if (c.tagName === tagName)
            return c.textContent;
    return undefined;
}
function vjSVGGetTrivialChild ( obj , tagName ) { for ( var c = obj . firstChild ; c ; c = c . nextSibling ) if ( c . tagName === tagName ) return c . textContent ; return undefined ; }
Get textContent of a trivial child of an SVG element
 \param obj An SVG element
 \param tagName Tag name of child
 \return textContent of child if found, undefined otherwise.
Get textContent of a trivial child of an SVG element \ param obj An SVG element \ param tagName Tag name of child \ return textContent of child if found undefined otherwise .