I'm using LuaTex to draw some UML diagrams in MetaUML. The diagrams appear left align in the page. How do I center them?
I tried \centering before the mplibcode environment and also tried enclosing the environment in center environment. But did not work.