Accepts a graphite like graph