If we have a bipartite,we can change its form into a normal form like this
g1 = GraphData[{8, 579}]
Graph[g1, GraphLayout -> "BipartiteEmbedding", VertexLabels -> "Name"]
But in this graph this method does not work
g = GraphData[{"CubicTransitive", 20}]
Graph[g, GraphLayout -> "BipartiteEmbedding", VertexLabels -> "Name"]
But we can see this two both is bipartite
BipartiteGraphQ /@ {g1, g}
{True, True}
And you can find a lot of graph cannot convert into "normal form" like this
{Graph[GraphData[#], GraphLayout -> "BipartiteEmbedding",
VertexLabels -> "Name"]} & /@ GraphData["Bipartite"][[;; ;; 100]]
Is a bug of Mathematica
??
EdgelList@g
rather thang
as the first argument, i.e.,Graph[EdgeList@g, GraphLayout -> "BipartiteEmbedding", VertexLabels -> "Name"]
gives what is expected. $\endgroup$g1
like that? $\endgroup$Graph[g1, ...]
works in version 10 (it doesn't in v9). $\endgroup$