Esempio 3 passi, eseguiti in ordine in una sola sessione. Ogni passo è stato eseguito sul motore e l'output qui sotto è ciò che ha prodotto.
g = ExampleData[{"NetworkGraph", "FamilyGathering"}];Nessun output - questo passo prepara qualcosa per il successivo.
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]Tutte le ricette · Guida delle funzioni · Usa questo da un client MCP