MOTHBALLED-graphviz icon indicating copy to clipboard operation
MOTHBALLED-graphviz copied to clipboard

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

Open kozross opened this issue 7 years ago • 1 comments

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?

kozross avatar Sep 11 '17 04:09 kozross

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 [email protected] 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.

magneticnorth avatar Sep 11 '17 11:09 magneticnorth