Ví dụ 4 bước, chạy theo thứ tự trong một phiên. Từng bước đều được thực thi trên bộ máy và đầu ra bên dưới là những gì nó tạo ra.
g = ExampleData[{"NetworkGraph", "FlorentineFamilies"}]ExampleData[{NetworkGraph, FlorentineFamilies}]Part[VertexList[g], Ordering[EigenvectorCentrality[g], All, Greater]]VertexList[ExampleData[{NetworkGraph, FlorentineFamilies}]]Part[VertexList[g], Ordering[ClosenessCentrality[g], All, Greater]]VertexList[ExampleData[{NetworkGraph, FlorentineFamilies}]]Part[VertexList[g], Ordering[BetweennessCentrality[g], All, Greater]]VertexList[ExampleData[{NetworkGraph, FlorentineFamilies}]]Tất cả công thức · Tài liệu tham chiếu hàm · Dùng cái này từ một client MCP