getGraphObject (objectName) {
    return this.getNode(objectName) || this.getConnection(objectName);
  }
Get a graph object, node or connection, by name.

@param {string} objectName the name of the node or connection to get
@returns {object} The node or connection object that matches on objectName, otherwise undefined