Detecting unknotted graphs in 3-space