Graph builder implemented