class documentation
class AbstractVertexDrawer(AbstractDrawer): (source)
已知的子类:igraph.drawing.cairo.vertex.AbstractCairoVertexDrawer, igraph.drawing.matplotlib.vertex.MatplotlibVertexDrawer, igraph.drawing.plotly.vertex.PlotlyVerticesDrawer
抽象顶点绘制器对象,所有具体的顶点绘制器实现都由此派生。
overridden in
igraph.drawing.cairo.vertex.AbstractCairoVertexDrawer, igraph.drawing.matplotlib.vertex.MatplotlibVertexDrawer, igraph.drawing.plotly.vertex.PlotlyVerticesDrawer构建顶点绘制器并将其关联到给定的调色板。
| 参数 | |
| palette | 绘制顶点时可用于将整数颜色索引映射到颜色的调色板 |
| layout | 图中顶点的布局 |
overridden in
igraph.drawing.cairo.vertex.CairoVertexDrawer, igraph.drawing.matplotlib.vertex.MatplotlibVertexDrawer, igraph.drawing.plotly.vertex.PlotlyVerticesDrawer绘制给定的顶点。
| 参数 | |
| visual | 指定顶点视觉属性的对象。其结构由CairoGraphDrawer的VisualVertexBuilder定义;请参阅其源代码。 |
| vertex | 正在绘制的原始 igraph 顶点 |
| coords | 由布局算法指定的顶点的X和Y坐标,缩放到边界框内。 |