MetaPost - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MetaPost Graph Format

MetaPost file format

 

Description

Examples

Description

• 

MetaPost is a graph file format based on the Metafont language.

• 

The Export and GraphTheory[ExportGraph] commands can write to this format.

Examples

Export the Levi graph to a MetaPost file in the home directory of the current user.

withGraphTheory:

leviSpecialGraphs:-LeviGraph

leviGraph 1: an undirected graph with 30 vertices and 45 edge(s)

(1)

DrawGraphlevi,style=spring

fileFileTools:-JoinPathlevi.mp,base=homedir

/Users/JohnSmith/levi.mp

(2)

ExportGraphlevi,file,metapost

See Also

Formats

GraphTheory