}
@Override
public StateEditor edit(Edge e, EdgeNarrative en) {
if (en instanceof EdgeNarrativeImpl) {
EdgeNarrativeImpl impl = (EdgeNarrativeImpl) en;
if (getOptions().isArriveBy())
impl.setToVertex(vertex);
else
impl.setFromVertex(vertex);
}
return new OBAStateEditor(this, e, en);
}