Re: [graphviz-interest] I've been through gvpr with a graph with no name

"Emden R. Gansner" <[email protected]>
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On 8/30/13 5:42 PM, Ryan Schmidt wrote:
> I guess I should not have passed $.name to the first argument of printf(). I should have used
>
>    printf("%s", $.name);
>
> or
>
>    print($.name);
>
> Then I get "%1".
Indeed, I read the printf as print.
>
> It's unlikely a user would choose to name a graph "%1", but is there any way to differentiate that case and when gvpr automatically assigns a graph name? Or is there any way to turn off gvpr's automatic name assignment?
The automatic name assignment for anonymous graphs is part of the base 
cgraph library used in Graphviz. I am
not aware of any way to turn this off. I might be simple for add this as 
a language constraint and have cgraph
prohibit names starting with'%'. I also don't know how this might 
interact with the underlying id discipline.

     Emden

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.