question: 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 ( ) ) ; } }
target:  Removes all input and output relations to the node