Text this: Learning stability on graphs