Neural function approximation on graphs: shape modelling, graph discrimination & compression