Equilibrium paths of a three-bar truss in finite elasticity with an application to graphene