code: function(node, action, flags) {
          var adj = node.adjacencies, filter = this.filter(flags);
          for(var id in adj) {
            var a = adj[id];
            if(filter(a)) {
              if(a.nodeFrom != node) {
                var tmp = a.nodeFrom;
                a.nodeFrom = a.nodeTo;
                a.nodeTo = tmp;
              }
              action(a, id);
            }
          }
      }
docs: /*
  Method: eachAdjacency
  
  Iterates over <Graph.Node> adjacencies applying the *action* function.
  
  Also implemented by:
  
  <Graph.Node>.
  
  Parameters:
  
  node - (object) A <Graph.Node>.
  action - (function) A callback function having <Graph.Adjacence> as first formal parameter.
  
  Example:
  (start code js)
  $jit.Graph.Util.eachAdjacency(node, function(adj) {
  alert(adj.nodeTo.name);
  });
  or...
  node.eachAdjacency(function(adj) {
  alert(adj.nodeTo.name);
  });
  (end code)