Ignore changes in the amount of whitespace
Differences between version dated 2005-02-02 05:09:57 and 2007-05-09 18:20:22
Deletions are marked like this.
Additions are marked like this.
}}} and turns them into pictures that look like this:
Many people have created interesting tools that use GraphViz to draw diagrams of workflow processes, clickpaths through a website, profiler call charts, even UML class diagrams. Most such programs use hardcoded templates for their `.dot` files and can be difficult to change because you have to know both the `dot` language and the application area of the software. In this tutorial, we'll develop a sophisticated framework for creating `.dot` files from application data that will give you flexible, object-oriented control over the visual objects to be rendered by GraphViz. We'll begin with a very simple structure using only three classes, and then, step by step, we'll show you more advanced ways to use the `peak.model` tools as we gradually enhance the framework's power and flexibility. Along the way, we'll share tips and techniques for ways to make the best design decisions for your own applications, in similar situations.