Learning Graph Structures In Task-Oriented Dialogue Systems