in reply to GraphViz decorateP attribute not working?

It seems (from a quick review of the code for GraphViz) that additional attributes are being added to a Graph::Directed instance. However I doubt that is any real help.

What I did find which I think might be helpful is that there seems to be a GraphViz (binarny not perl module) attribute called "Decorate". You can see the details here in the GraphViz docs. My guess is that the 'P' at the end is a typo.

BTW - You might find this useful for messing around with GraphViz on OS X. It can't be linked to the GraphViz perl module, but you can quickly an easily view and edit DOT files and see updates when you save the file. It takes some of the tedium out of fiddling with the small details of a graph.

-stvn
  • Comment on Re: GraphViz decorateP attribute not working?

Replies are listed 'Best First'.
Re^2: GraphViz decorateP attribute not working?
by Ovid (Cardinal) on Dec 28, 2004 at 20:28 UTC

    You were right. The P at the end does appear to be a typo. What through me off was this dot manpage which lists decorateP as one of the edge attributes. I'm not sure what's going on, but switching to decorate => 1 did solve the problem.

    Cheers,
    Ovid

    New address of my CGI Course.

      What through me off was this dot manpage which lists decorateP as one of the edge attributes.

      I am going to guess that maybe this is where the typo originated then. It looks though like GraphViz just takes arbitrary attributes, doesn't validate them and then passes them onto the GraphViz binary when it attempts to generate the file. Which would explain why it worked to just do 'decorate'.

      -stvn