Versatile Multi-stage Graph Neural Network for Circuit Representation