Given the schedule, let's say
g = Graph[{x -> a, y -> c, a -> b, b -> c, a -> c, d -> c, a -> d, b -> d}, VertexLabels -> "Name"]

How to find all the vertices in the graph with the maximum degree, i.e. list all the vertices with the largest number of edges and highlight them on the graph?
In this case, these would be the vertices {a,c} .
source share