Example 6 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.
g = ExampleData[{"NetworkGraph", "ZacharyKarateClub"}]Graph[<34>, <78>]VertexCount[g]34EdgeCount[g]78With[{d = DegreeCentrality[g]}, Pick[VertexList[g], d, Max[d]]]{34}Part[VertexList[g], Reverse[Ordering[BetweennessCentrality[g]]][[ ;; 2]]]{1, 34}Pick[VertexList[g], DegreeCentrality[g], 0 | 1]{12}All recipes · Function reference · Use this from an MCP client