Exemplo 3 passos, executados em ordem numa sessão. Cada passo foi executado no motor e a saída abaixo é o que ele produziu.
g = ExampleData[{"NetworkGraph", "FamilyGathering"}];Sem saída - este passo prepara algo para o próximo.
Part[VertexList[g], Ordering[EigenvectorCentrality[g], All, Greater]]VertexList[ExampleData[{NetworkGraph, FamilyGathering}]]cc = DegreeCentrality[g];
HighlightGraph[g, Table[Style[VertexList[g][[i]], ColorData["TemperatureMap"][cc[[i]] / Max[cc]]], {i, VertexCount[g]}], ImageSize -> 300]HighlightGraph[ExampleData[{NetworkGraph, FamilyGathering}], Table[VertexList[g][[i]], {i, VertexCount[g]}], ImageSize -> 300]Todas as receitas · Referência de funções · Usar isto de um cliente MCP