Bug introduced in 9.0 and fixed in 11.3
Does anybody has an idea what is wrong with adding edge to an empty graph created by my custom function?
DiscreteGraph[n_]:=GraphComplement[CompleteGraph[n]];
EdgeAdd[DiscreteGraph[5],1<->2]
Note that the following works:
EdgeAdd[Graph[Range[5],{}],1<->2]
as well as the call with "graph-as-picture":
Graph
-bugs that Wolfram hasn't fixed for years. I reported these types of failures multiple times. Please write to Wolfram Support and report it yourself. The only way they'll do something about it is if more people report it. Or maybe they've already abandoned all theGraph
stuff!? Sometimes I really have the impression that they did!! $\endgroup$g = Uncompress@Compress[g]
org = Graph[VertexList[g],EdgeList[g]]
(loses properties). ThenEdgeAdd
won't fail. $\endgroup$T=Graph[{1<->2,1<->3,3<->4,1<->5,5<->6,6<->7}] GraphAutomorphismGroup[T]
Seems not to work in version 11.2, but works in version 10!!! (and yes, reported to company) $\endgroup$GraphAutomorphismGroup[T]
works fine for me in 11.2 / OSX. The function is known to be buggy on the Raspberry Pi, but AFAIK it works fine on desktop platforms. The IGraph/M package has a function you can use instead:IGBlissAutomorphismGroup
. Feel free to contact me with any feedback about this package (and please use the latest pre-release if you try it out). $\endgroup$