public void removeAllRelations(){
  for (  BNode inputNode : new LinkedList<BNode>(inputNodes.values())) {
    removeInputNode(inputNode.getId());
  }
  for (  BNode outputNode : new LinkedList<BNode>(outputNodes.values())) {
    removeOutputNode(outputNode.getId());
  }
}

public void removeAllRelations ( ) { for ( BNode inputNode : new LinkedList < BNode > ( inputNodes . values ( ) ) ) { removeInputNode ( inputNode . getId ( ) ) ; } for ( BNode outputNode : new LinkedList < BNode > ( outputNodes . values ( ) ) ) { removeOutputNode ( outputNode . getId ( ) ) ; } }
removes all input and output relations to the node
