to_latex_raw#

to_latex_raw(G, pos='pos', tikz_options='', default_node_options='', node_options='node_options', node_label='label', default_edge_options='', edge_options='edge_options', edge_label='label', edge_label_options='edge_label_options')[source]#

返回用于绘制图 G 的 LaTeX/TikZ 代码字符串

此函数仅生成 tikzpicture 的代码,不包含任何外围环境。