The DrawGraph command and various graph highlighting commands have been enhanced with even more new ways to customize graph display. Some of the defaults have changed so that the vertex shape will generally be closer to the size of the vertex label, vertex borders will not overlap, and the size option passed to DrawGraph will be used to make graphs look better at sizes different than the default. As well, the arrows on directed edges are now draw with a more typical solid triangle shape with new stylesheet options to customize the arrow positions and size.
>
|
|
| (3.1) |
>
|
|
A new vertex shape option is now available as well, the shape can be any string understood by the new command plottools:-polygonbyname.
>
|
|
>
|
|
There is a new option to control the amount of padding (measured in font points) around vertex labels. This is useful if the automatically selected size of the vertex shape is too large or too small.
>
|
|
There is a new option to set the line style of graph edges. Any linestyle from plot/options is supported.
>
|
|
In cases where the graph has many vertices, labels are turned off by default but plot annotations are added so that you can see the labels when you hover the mouse pointer over a vertex.
>
|
|
| |
| (3.2) |
The DrawGraph tree style can now be used on graphs that are not trees. This is implemented by choosing a vertex layout based on the SpanningTree starting at a specified root.
>
|
|
| |