Origami/pdf2graph

From aldeid
Jump to navigation Jump to search
You are here:
pdf2graph

Description

Generates a Graphviz DOT file out of a PDF document.

Usage

Syntax

Usage: /usr/local/bin/pdf2graph <PDF-file> [-f <format>] [-o <output-file>]

Options

-o, --output FILE
Output PDF file
-f, --format FORMAT
File format for the generated graph, dot or graphml (Default: dot).
-h, --help
Show this message

Example

$ pdf2graph example.pdf
$ dot -Tpng example.pdf -o example.png

The below commands will produce a map similar to this one:

Origami-pdf2graph.png

Comments

blog comments powered by Disqus