Help for this page

Select Code to Download


  1. or download this
    <graphml xmlns="http://graphml.graphdrawing.org/xmlns"  [more gorp] >
    
  2. or download this
    
    my $xpc = XML::LibXML::XPathContext->new($dom);
    ...
    else {
        print "did not find graph node edgedefault value\n";
    }
    
  3. or download this
    my $weightXPATH = ".//gml:data[\@key=\"$weightKey\"]";
    
    if (my $dataWeightNode = @{$xpc->findnodes($weightXPATH,$edgeElement)}
    +[0]) {
        $weight = $dataWeightNode->textContent();
    }