Learning First-Order Symbolic Planning Representations from Plain Graphs