Why does following command not work in Mathematica 11.2?
Graph[{1 \[DirectedEdge] 1, 1 \[DirectedEdge] 1, 1 \[DirectedEdge] 1},
EdgeWeight -> {{1, 0}, {0, 1}, {1, 1}}]
From the official docs about EdgeWeight:
The weight $w_i$ can be any expression.
Removing the weights everything looks ok:
Update
The answer by @Carl Woll is good. If I want to display the EdgeWeights, there are also issues. Following does not work:
Block[{Identity},
Graph[{1 \[DirectedEdge] 1, 1 \[DirectedEdge] 1, 1 \[DirectedEdge] 1},
EdgeWeight -> Identity /@ {{1, 0}, {0, 1}, {1, 1} }, EdgeLabels -> "EdgeWeight"]]
There is already a question discussing this: Label multiple edges between same vertices