The periphery of a graph G is the subgraph of G induced by vertices that have graph eccentricities equal to the graph diameter. The periphery of a connected graph may be computed in the Wolfram Language with the command GraphPeriphery[g]. However, this function returns {} for disconnected graphs.