2
$\begingroup$

I am using HasseDiagram from Combinatorica (in 10.1). I am very happy to have found HasseDiagram because I am drawing Hasse diagrams. I also like that they are just black. However, I cannot access the vertex size. ShowGraph from Combinatorica only takes VertexStyle not VertexSize as an option and I don't get how to manipulate the size with this. VertexStyle->Thick does not do anything. Here is what I use:

ShowGraph[HasseDiagram@MakeGraph[{1, 2, 3}, #1 - #2 == 1 &],VertexStyle-> ?????]

Is there a way to make vertices thicker?

$\endgroup$
2
$\begingroup$

The same way as in, e.g., ListPlot:

ShowGraph[HasseDiagram@MakeGraph[{1, 2, 3}, #1 - #2 == 1 &], 
 VertexStyle -> PointSize[0.1]]

enter image description here

$\endgroup$
  • $\begingroup$ Thanks! The ListPlot reference might help me also in the future. It takes some experience to see through the different sets of available options for some graphics related commands. I get the feeling there are maybe two main classes but I haven't figured it out yet... $\endgroup$ – tortortor Oct 22 '16 at 2:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.