E-Graph: Minimal Solution for Rigid Rotation with Extensibility Graphs