created removeByGraphId element

created an argument to remove pathway elements by the GraphId