L-convexity on graph structures