Combinatorica`
Combinatorica`

SetGraphOptions

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »

SetGraphOptions[g,opts]

returns g with the options opts set.

SetGraphOptions[g,{v1,v2,,vopts},gopts]

returns the graph with the options vopts set for vertices v1, v2, and the options gopts set for the graph g.

SetGraphOptions[g,{e1,e2,,eopts},gopts]

with edges e1, e2, works similarly.

SetGraphOptions[g,{{elements1,opts1},{elements2,opts2},},opts]

returns g with the options opts1 set for the elements in the sequence elements1, the options opts2 set for the elements in the sequence elements2, and so on.

更多信息和选项

  • SetGraphOptions functionality is now available in the built-in Wolfram Language function SetProperty.
  • To use SetGraphOptions, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
  • Here, elements can be a sequence of edges or a sequence of vertices. A tag that takes on values One or All can also be passed in as an argument before any options.
  • The default value of the tag is All and it is useful if the graph has multiple edges. It informs the function about whether all edges that connect a pair of vertices are to be affected or only one edge is affected.
Wolfram Research (2012),SetGraphOptions,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/SetGraphOptions.html.

文本

Wolfram Research (2012),SetGraphOptions,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/SetGraphOptions.html.

CMS

Wolfram 语言. 2012. "SetGraphOptions." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/SetGraphOptions.html.

APA

Wolfram 语言. (2012). SetGraphOptions. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/SetGraphOptions.html 年

BibTeX

@misc{reference.wolfram_2024_setgraphoptions, author="Wolfram Research", title="{SetGraphOptions}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/SetGraphOptions.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_setgraphoptions, organization={Wolfram Research}, title={SetGraphOptions}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/SetGraphOptions.html}, note=[Accessed: 18-November-2024 ]}