mxGraph.prototype.insertVertex = function(parent, id, value,
x, y, width, height, style, relative)
{
var vertex = this.createVertex(parent, id, value, x, y, width, height, style, relative);
return this.addCell(vertex, parent);
};
https://github.com/jgraph/mxgraph/blob/master/javascript/src/js/view/mxGraph.js#L4471
Ячейка является либо вершиной, либо ребром, см. теория графов .
addCell добавляет данную ячейку.insertVertex / Edge - это оболочка, которая создает вершину / ребро и вызывает addCell.