[prev in list] [next in list] [prev in thread] [next in thread] 

List:       graphviz-interest
Subject:    Re: [graphviz-interest] functions or macros
From:       "Emden R. Gansner" <erg () research ! att ! com>
Date:       2011-12-02 4:38:02
Message-ID: 4ED8562A.40900 () research ! att ! com
[Download RAW message or body]

On 12/1/11 7:22 PM, George Georgalis wrote:
> So, I was wondering, is there any kind of macro or function support
> within the dot language? For example, I'd like to define once what an
> edge representing some protocol looks like, then simply use the
> macro/function rather than write out the color, width, arrow type, etc
> for each use of the type of edge.
And for simple cases, you can use the subgraph mechanism, e.g., all edges in
subgraph {
   edge[color=blue]
}
will have color blue.

    Emden

_______________________________________________
graphviz-interest@research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic