Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Generalized Sierpinski graph method not working

I just saw the ticket here, which proposes to give the Generalized Sierpinski Graph. I also saw that it is committed in the GitHub repository. But, when I write graphs.GeneralizedSierpinskiGraph on the Jupyter notebook on CoCalc, it is not working and returning the error:graphs has no attribute called GeneralizedSierpinskiGraph. In addition, when saw the source code on the GitHub page, and when I copied and pasted it on my notebook, again the error is object of type'int' has no 'len()', which is referring to the line len(next(H.vertex_iterator())).

How do we modify this error? And will the method GeneralizedSierpinskiGraph work on Cocalc?