[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Dot labels with newlines

From: Justin McCann
Subject: Re: [igraph] Dot labels with newlines
Date: Thu, 2 Feb 2012 17:25:34 -0500

On Thu, Feb 2, 2012 at 5:21 PM, Tamás Nepusz <address@hidden> wrote:
> Hi Justin,
> This is most likely a bug in igraph's DOT exporter; I will check the DOT 
> format specification to see how we can deal with it. In the meanwhile, I 
> think the easiest workaround is to use escaped newlines (e.g., r"foo\nbar") 
> and then post-process your files, either using a simple sed script that 
> replaces "\\n" with "\n", or straight from Python. Something like this 
> (untested):

That's what I've been doing; thanks!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]