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/collapse
/* Collapse all edges with same group attribute into a single edge */
BEG_G {
  int seen[string];
  $O = $;            // Use the input graph as output.
}
E {
  if (collapse == "") return;          // If no collapse, ignore.
  if (seen[collapse]) delete ($G, $);  // If already seen an edge with this collapse value, 
                                       // delete the edge.
  else seen[collapse] = 1;             // Else mark collapse value as seen and keep edge.
}