| 1 | initial version |
The documentation of graphs.SierpinskiGasketGraph, which you can get with:
sage: graphs.SierpinskiGasketGraph?
tells that some generalization with two parameters can be found as graphs.HanoiTowerGraph.
If it is not what you are looking for, you can get the source code for the construction of (ungeneralized) Sierpinski gasket graphs, and try to generalize it with:
sage: graphs.SierpinskiGasketGraph??
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.