src/dig/digraph.js
function _shallowCopyAttrs(src, dst) {
    if (Object.prototype.toString.call(src) !== '[object Object]') {
      throw new Error("Attributes are not an object: " + src);
    }
    for (var k in src) {
      dst[k] = src[k];
    }
  }
function _shallowCopyAttrs(src, dst) {
    if (Object.prototype.toString.call(src) !== '[object Object]') {
      throw new Error("Attributes are not an object: " + src);
    }
    for (var k in src) {
      dst[k] = src[k];
    }
  }
function _shallowCopyAttrs ( src , dst ) { if ( Object . prototype . toString . call ( src ) !== '[object Object]' ) { throw new Error ( "Attributes are not an object: " + src ) ; } for ( var k in src ) { dst [ k ] = src [ k ] ; } }
Copies the first level of keys and values from src to dst.
Copies the first level of keys and values from src to dst .