HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/share/graphviz/gvpr/indent
/* Print the depth-first traversal of nodes
 * as an indented list
 */
BEGIN {
  int i, indent;
  int seen[string];
  void prInd () {
    for (i = 0; i < indent; i++) printf ("  ");
  } 
}
BEG_G {

   $tvtype = TV_prepostfwd;
   $tvroot = node($,ARGV[0]);
}
N {
  if (seen[$.name]) indent--;
  else {
    prInd();
      print ($.name);
    seen[$.name] = 1;
    indent++;
  }
}