[feature suggestion] Allow edge ordering performed by both "in" and "out" directions: add "both" to the "ordering" attribute
I use graphviz to draw a computation graph. There are functions that generally accept several inputs and produce several outputs. When shown visually, order of both outputs and inputs is important because showing the edges comimg in and out of nodes in a wrong order is confusing and doesn't match the entity being represented.
Documentation (https://www.graphviz.org/doc/info/attrs.html#d:ordering) implies that the "outgoing" attribute can be ether "in" or "out". I suggest to add "both" such that a computation graph described above can be naturally represented.
There is a corner case when Node1 produces Edge1 and Edge2, but Node2 consumes Edge2 and Edge1, in that order. A case like this would be impossible to represent with "Node1 -> Node2" syntax. This needs to be dealt with somehow, but this problem is the problem of the DOT syntax, not of the underlying directed graph that it describes.