Generate a graph representing an IF description