Open szhorvat opened 7 months ago
The vertex names in the result of IGBipartiteProjections are sometimes mixed up, depending on the ordering of the given partitions.
IGBipartiteProjections
g = IGShorthand["1-a,1-b,1-c,2-a,2-c,3-d,a-3"]
Graph[#, VertexLabels -> Automatic] & /@ IGBipartiteProjections[g, {{"a", "d", "c", "b"}, {1, 2, 3}}]
Notice that in the result the names/labels of b and d are incorrectly exchanged.
b
d
Using IGBipartiteProjections[g, {{"a", "b", "c", "d"}, {1, 2, 3}}] (not the positions of b and d in the input) would be fine.
IGBipartiteProjections[g, {{"a", "b", "c", "d"}, {1, 2, 3}}]
The vertex names in the result of
IGBipartiteProjections
are sometimes mixed up, depending on the ordering of the given partitions.Notice that in the result the names/labels of
b
andd
are incorrectly exchanged.Using
IGBipartiteProjections[g, {{"a", "b", "c", "d"}, {1, 2, 3}}]
(not the positions ofb
andd
in the input) would be fine.