This is a follow-up question to this one: Making Tikz automatic node placement work
Especially to the post of Mark Wibrow (second one).
His solution works with 16 nodes, but I'm looking for a solution that does the same but with 32 nodes, like this:
\foreach \bytes [count=\y from 0] in {
{null},
{a,b,c,d,e},
{ab,ac,ad,ae,bc,bd,be,cd,ce,de},
{abc,abd,abe,acd,ace,ade,bcd,bce,bde,cde},
{abcd,abce,abde,acde,bcde},
{abcde}}
Can you help me editing the following:
the
at ({\x+abs(2-\y)+(mod(\y, 4)==0)/2}, -\y)that all 32 nodes are symmetrical centered.
The solution above only works for 16 nodes!
that my nodes a -> ab, a -> ac, a -> ad and so on are connected.
The solution
\foreach \x in {0,...,15}{ \foreach \y in {\x,...,15}{ \ifnum\x=\y \else \process{\x}{\y} \ifnum\pgfmathresult=1 \draw [<->] (\x) -- (\y); \fi \fi } }doesn't work.
I wan't to draw graph to look like this (taken from [1], p. 8)



1,5,10,10and5, and1which can be derived usingn!/(k!*(n-k)!). So the coordinates of the nodes are({-((5!/\y!/(5-\y)!-1)/2+\x},-\y), or something like that. – Mark Wibrow Nov 20 '13 at 06:49