Skip to main content

GraphHub

GraphHub[g] gives the set of vertices with maximum vertex degree in the underlying simple graph of g.

GraphHub[g,"In"] gives the set of vertices with maximum vertex in-degree.

GraphHub[g,"Out"] gives the set of vertices with maximum vertex out-degree.

GraphHub[{v->w,…},…] uses rules v->w to specify the graph g.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.