Lines Matching refs:output

506         $output = "digraph G {\n";
510 …$output .= " \"page-$id\" [shape=note, label=\"{$page['title']}\\n{$id}\", color=lightblue, fon…
513 …$output .= " \"media-$id\" [shape=box, label=\"$id\", color=sandybrown, fontname=Helvetica];\n";
518 $output .= " \"page-$id\" -> \"page-$link\" [color=navy];\n";
521 $output .= " \"page-$id\" -> \"media-$link\" [color=firebrick];\n";
524 $output .= "}\n";
526 return $output;
536 $output = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
537 $output .= "<gexf xmlns=\"http://www.gexf.net/1.1draft\" version=\"1.1\"
539 $output .= " <meta lastmodifieddate=\"".date('Y-m-d H:i:s')."\">\n";
540 $output .= " <creator>DokuWiki</creator>\n";
541 $output .= " </meta>\n";
542 $output .= " <graph mode=\"dynamic\" defaultedgetype=\"directed\">\n";
545 $output .= " <attributes class=\"node\">\n";
546 $output .= " <attribute id=\"title\" title=\"Title\" type=\"string\" />\n";
547 $output .= " <attribute id=\"lang\" title=\"Language\" type=\"string\" />\n";
548 $output .= " <attribute id=\"ns\" title=\"Namespace\" type=\"string\" />\n";
549 $output .= " <attribute id=\"type\" title=\"Type\" type=\"liststring\">\n";
550 $output .= " <default>page|media</default>\n";
551 $output .= " </attribute>\n";
552 $output .= " <attribute id=\"time\" title=\"Created\" type=\"long\" />\n";
553 $output .= " <attribute id=\"size\" title=\"File Size\" type=\"long\" />\n";
554 $output .= " </attributes>\n";
557 $output .= " <nodes>\n";
561 … $output .= " <node id=\"page-$id\" label=\"$id\" start=\"{$item['time']}\">\n";
562 $output .= " <attvalues>\n";
563 $output .= " <attvalue for=\"type\" value=\"page\" />\n";
564 $output .= " <attvalue for=\"title\" value=\"$title\" />\n";
565 $output .= " <attvalue for=\"lang\" value=\"$lang\" />\n";
566 $output .= " <attvalue for=\"ns\" value=\"{$item['ns']}\" />\n";
567 $output .= " <attvalue for=\"time\" value=\"{$item['time']}\" />\n";
568 $output .= " <attvalue for=\"size\" value=\"{$item['size']}\" />\n";
569 $output .= " </attvalues>\n";
570 $output .= " <viz:shape value=\"square\" />\n";
571 $output .= " <viz:color r=\"173\" g=\"216\" b=\"230\" />\n";
572 $output .= " </node>\n";
577 … $output .= " <node id=\"media-$id\" label=\"$id\" start=\"{$item['time']}\">\n";
578 $output .= " <attvalues>\n";
579 $output .= " <attvalue for=\"type\" value=\"media\" />\n";
580 $output .= " <attvalue for=\"title\" value=\"$title\" />\n";
581 $output .= " <attvalue for=\"lang\" value=\"$lang\" />\n";
582 $output .= " <attvalue for=\"ns\" value=\"{$item['ns']}\" />\n";
583 $output .= " <attvalue for=\"time\" value=\"{$item['time']}\" />\n";
584 $output .= " <attvalue for=\"size\" value=\"{$item['size']}\" />\n";
585 $output .= " </attvalues>\n";
586 $output .= " <viz:shape value=\"disc\" />\n";
587 $output .= " <viz:color r=\"244\" g=\"164\" b=\"96\" />\n";
588 $output .= " </node>\n";
590 $output .= " </nodes>\n";
593 $output .= " <edges>\n";
598 … $output .= " <edge id=\"$cnt\" source=\"page-$id\" target=\"page-$link\" />\n";
602 … $output .= " <edge id=\"$cnt\" source=\"page-$id\" target=\"media-$link\" />\n";
605 $output .= " </edges>\n";
607 $output .= " </graph>\n";
608 $output .= "</gexf>\n";
609 return $output;