ellson / MOTHBALLED-graphviz

Moved to https://gitlab.com/graphviz/graphviz
Eclipse Public License 1.0
1.29k stars 253 forks source link

What should I read/learn if I want to write a new output format for Graphviz? #1279

Open kozross opened 6 years ago

kozross commented 6 years ago

I'd like to contribute an output format that produces ASCII diagrams. However, I'm not really sure where to begin with the Graphviz codebase, or what to use as an example or starting point. Would someone be able to point me in the right direction?

magneticnorth commented 6 years ago

In plugin/core you can find a bunch of text-based drivers, for example, for JSON, HPGL, the old Unix pic format, handmade SVG and Postscript generators, etc. I think they vary in complexity according to how they deal with custom fonts, loading external shapes, converting Bezier to other types of splines, how much the target format can support compound objects, etc.

On Sep 11, 2017, at 12:52 AM, Koz Ross notifications@github.com wrote:

I'd like to contribute an output format that produces ASCII diagrams. However, I'm not really sure where to begin with the Graphviz codebase, or what to use as an example or starting point. Would someone be able to point me in the right direction?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ellson/graphviz/issues/1279, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtWz1kf36NE5sXNSGjs-_kzQUk1pAzhks5shLxygaJpZM4PSoc4.