On Triangular versus Edge Representations --- Towards Scalable Modeling of Networks