intToGraph