327328329330331332333334335336337
{ compPath.addNode(node); if (node.hasLabel(EDGE)) { compPath.addEdge((Edge) node.getLabel(EDGE)); } } compPath.addNode(target); assert compPath.getLength() == length;