throw new IllegalArgumentException("vertex with label "+label+" has an unsupported type");
result.setAccept(DeterministicDirectedSparseGraph.isAccept(srcVert));
if (srcVert.containsUserDatumKey(JUConstants.COLOUR))
result.setColour((JUConstants)srcVert.getUserDatum(JUConstants.COLOUR));
if (srcVert.containsUserDatumKey(JUConstants.HIGHLIGHT))
result.setHighlight(true);
if (srcVert.containsUserDatumKey(JUConstants.ORIGSTATE))
result.setOrigState((VertexID)srcVert.getUserDatum(JUConstants.ORIGSTATE));
if (srcVert.containsUserDatumKey(JUConstants.DEPTH))
result.setDepth((Integer)srcVert.getUserDatum(JUConstants.DEPTH));