Boxed option does not work with Graph3D

Bug introduced in 10.0 or earlier and fixed in 12.0

Boxed is an Option for Graph3D, however I cannot get it to work.

Graph3D[ButterflyGraph[3], Boxed -> True]


does not draw a box

I can set it via:

SetOptions[Graph3D, Boxed -> True];
MemberQ[Options[Graph3D], Boxed -> True] (*test*)
(* True *)

Graph3D[ButterflyGraph[3]]


But this does not work either.

• You should probably report this to support; in the meantime, try Show[Graph3D[ButterflyGraph[3]], Boxed -> True]. – J. M. will be back soon Mar 14 at 5:55
• @J.M. Thanks; that converts it to a Graphics3D object ... pro's and con's but it works ... – Sander Mar 14 at 6:06
• I reported this to Wolfram – Sander Mar 14 at 6:17

1 Answer

Using "Boxed" instead of Boxed works:

Graph3D[ButterflyGraph[3], "Boxed" -> True]


Head @ %


Graph

\$Version


"11.3.0 for Microsoft Windows (64-bit) (March 7, 2018)"

• indeed it does ... however seems inconsistent with use of Boxed elsewere as well as other option settings for Graph3D ?? What am I missing? – Sander Mar 14 at 6:09
• @Sander, you are right. – kglr Mar 14 at 6:10
• and SetOptions[Graph3D, Boxed -> True] changes the defailt option setting ... – Sander Mar 14 at 6:10
• okay, got it. Thanks! – Sander Mar 14 at 6:11
• @Sander, thank you for the accept. You should definitely report this to Wolfram. – kglr Mar 14 at 6:12