MetaPost Graph Format
MetaPost file format
Description
Examples
MetaPost is a graph file format based on the Metafont language.
The Export and GraphTheory[ExportGraph] commands can write to this format.
Export the Levi graph to a MetaPost file in the home directory of the current user.
withGraphTheory:
levi≔SpecialGraphs:-LeviGraph
levi≔Graph 1: an undirected graph with 30 vertices and 45 edge(s)
DrawGraphlevi,style=spring
file≔FileTools:-JoinPathlevi.mp,base=homedir
/Users/JohnSmith/levi.mp
ExportGraphlevi,file,metapost
See Also
Formats
GraphTheory
Download Help Document