Add a ID to digraph.

Even if the DOT language specification says that the ID after (di)graph is
optional, some tools like dotty crash if ID is ommited.