Code for automatically drawing simplicial complexes