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.
with⁡GraphTheory:
levi≔SpecialGraphs:-LeviGraph⁡
levi≔Graph 1: an undirected graph with 30 vertices and 45 edge(s)
DrawGraph⁡levi,style=spring
file≔FileTools:-JoinPath⁡levi.mp,base=homedir
/Users/JohnSmith/levi.mp
ExportGraph⁡levi,file,metapost
See Also
Formats
GraphTheory
Download Help Document