brokendreams
brokendreams

Reputation: 887

View graphml file

I recently found a .graphml file but have no idea how to open it from command line. Do I need to install something to view such files in ubuntu from command line? I tried google but could not find any result related to this topic.

Upvotes: 23

Views: 37372

Answers (2)

xvan
xvan

Reputation: 4875

grpahviz comes with a tool to translate graphml to dot language.

For simple visualizations you can do:

graphml2gv input.graphml  | dot -Tpdf -o out.pdf

Upvotes: 3

JCLL
JCLL

Reputation: 5555

Graphml is the standard file format for graph yED editor. This editor can be downloaded on any platform (linux, mac ,windows).

The documentation about the graphml format itself, xml-based, can be found here.

Upvotes: 32

Related Questions