if (node instanceof ProcessorDefinition) {
ProcessorDefinition<?> processorType = (ProcessorDefinition<?>)node;
this.edgeLabel = processorType.getLabel();
}
if (node instanceof FromDefinition) {
FromDefinition fromType = (FromDefinition)node;
this.tooltop = fromType.getLabel();
this.label = removeQueryString(this.tooltop);
this.url = "http://camel.apache.org/message-endpoint.html";
} else if (node instanceof ToDefinition) {
ToDefinition toType = (ToDefinition)node;
this.tooltop = toType.getLabel();