Close
Close window
Pajek - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Pajek (.net) Graph Format

Pajek file format

Description

Pajek is a text-based file format for storing a single directed or undirected graph.

The GraphTheory[ImportGraph] and GraphTheory[ExportGraph] commands can read from and write to this format.

The general-purpose commands Import and Export also support this format.

Examples

Import a Pajek file encoding the Petersen graph.

>

PetersenImportexample/petersen.net,base=datadir

PetersenGraph 1: an undirected graph with 10 vertices and 15 edges

(1)
>

GraphTheory:-DrawGraphPetersen

Import a Pajek file encoding the constellation Draco.

>

DracoImportexample/draco.net,base=datadir

DracoGraph 2: an undirected graph with 14 vertices and 14 edges

(2)
>

GraphTheory:-DrawGraphDraco

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

>

LGGraphTheory:-SpecialGraphs:-LeviGraph

LGGraph 3: an undirected graph with 30 vertices and 45 edges

(3)
>

Exportlevi.net,LG,base=homedir

1126

(4)

See Also


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /