Node and edge control strategy identification via trap spaces in Boolean networks