Demonstration: Algebraic constructions and categories sage: Px.<x> = QQ[] sage: Fx = Px.fraction_field() sage: g = sage.categories.category.category_graph() sage: g.set_latex_options(format = "dot2tex") sage: view(g, tightpage = True, viewer = "pdf") # optional - dot2tex