optional argument that can be a string with values Canonical, which assigns a value of 1 to each edge, or Random, which assigns random integer values.
i1 : Q = toricQuiver(matrix({{-1,-1,-1,-1},{1,1,0,0},{0,0,1,1}}), Flow=>"Canonical") o1 = ToricQuiver{flow => {1, 1, 1, 1} } IncidenceMatrix => | -1 -1 -1 -1 | | 1 1 0 0 | | 0 0 1 1 | Q0 => {0, 1, 2} Q1 => {{0, 1}, {0, 1}, {0, 2}, {0, 2}} weights => {-4, 2, 2} o1 : ToricQuiver |
i2 : Q = toricQuiver(matrix({{-1,-1,-1,-1},{0,0,1,1},{1,1,0,0}}), Flow=>"Random") o2 = ToricQuiver{flow => {24, 65, 71, 72} } IncidenceMatrix => | -1 -1 -1 -1 | | 0 0 1 1 | | 1 1 0 0 | Q0 => {0, 1, 2} Q1 => {{0, 2}, {0, 2}, {0, 1}, {0, 1}} weights => {-232, 143, 89} o2 : ToricQuiver |