public Edge(Eventable eventable) {
try {
this.from = eventable.getSourceStateVertex().getName();
this.to = eventable.getTargetStateVertex().getName();
} catch (CrawljaxException e) {
throw new CrawlOverviewException("Could not get state vertex", e);
}
this.text = eventable.getElement().getText();
this.hash = buildHash();
this.id = eventable.getIdentification().toString();
Element el = eventable.getElement();