I am dealing with partially ordered sets $\Gamma$, which I represent as directed graphs with an edge going from $a$ to $b$ if $a \leq b$ in $\Gamma$. For example the following graph,
\[CapitalGamma] = {2, 3, 5, 7, 6, 8, 10, 12, 24};
edges = Apply[DirectedEdge,Select[Tuples[\[CapitalGamma], 2],
Mod[#[[2]], #[[1]]] == 0 &], {1}];
Graph[\[CapitalGamma], edges, VertexLabels -> "Name"]
which looks like the following.
This is the poset with elements $\{2, 3, 5, 7, 6, 8, 10, 12, 24\}$, ordered by division. In this set the maximal elements are $7,10$ and $24$. Is there some clever way in Mathematica to find a list of maximal elements directly from a graph?


RelationGraph[Divisible, \[CapitalGamma]]. – Szabolcs Jan 22 '18 at 14:41