Group inputs/outputs in graphviz