Decomposable convexities in graphs and hypergraphs