Ben Butler-Cole | 17 Jun 13:08 2009
Picon

Re: [graphviz-interest] Erroneously duplicated edge between clusters


I see now that this isn't the forum for reporting bugs. I'll raise a bug through the web interface.

Ben

----- Original Message ----
> From: Ben Butler-Cole <ben <at> bridesmere.com>
> To: graphviz-interest <at> research.att.com
> Sent: Wednesday, June 17, 2009 11:56:41 AM
> Subject: [graphviz-interest] Erroneously duplicated edge between clusters
> 
> Hello
> 
> For this graph:
> 
> digraph G {
>     subgraph cluster_one {
>         a;
>         b;
>     }
>     subgraph cluster_two {
>         c;
>     }
>     a -> b [constraint=false];
>     a -> c [constraint=false];
> }
> 
> Processed with
> 
> dot -Tpng -otmp.png tmp.dot
(Continue reading)

Emden R. Gansner | 17 Jun 16:03 2009
Picon

Re: [graphviz-interest] Meaning of compass values

See

  http://www.graphviz.org/doc/info/attrs.html#k:portPos

If your dot doesn't recognize them, you must have an older version. The 
c and _ values were added last August.

The actual values for compass points should probably be removed from the 
grammar, as they are not
technically part of the language, but this seemed like a good place to 
note the supported values.

    Emden

_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest

Oliver Bruening | 17 Jun 19:14 2009
Picon

[graphviz-interest] graphviz on iphone ?


hello.

is there a way to embed graphviz in iphone apps ? instaviz does a great job, but sometimes graphiz
functionality is needed as part of an application, i. e. to display workflows in a worklflow application. 

best regards
oliver bruening

_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest

Stephen North | 18 Jun 00:46 2009
Picon

Re: [graphviz-interest] graphviz on iphone ?

Perhaps it would be feasible to compile with a minimal set of drivers,  
e.g.
the old libgd (that John Ellson keeps trying to get rid of!)  plus  
freetype,
maybe skip fontconfig and rely on some basic lookup tables for a few
common fonts, libpng, zlib, that would about do it.

_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest

Russ Tremain | 18 Jun 00:38 2009

Re: [graphviz-interest] graphviz on iphone ?

At 5:14 PM +0000 6/17/09, Oliver Bruening wrote:
>hello.
>
>is there a way to embed graphviz in iphone apps ? instaviz does a great job, but sometimes graphiz
functionality is needed as part of an application, i. e. to display workflows in a worklflow application.
>
>best regards
>oliver bruening

well, it is written in C, so it should be possible.  I know you can compile any any source you want in C or C++ on
the iphone.  memory is at a premium, however, so much would depend on the current graphiz memory footprint. 
iphones are limited to 128MB, much of which is used by osx.  (new one has 256MB).

Also, there is currently no way to install system-wide libraries (unless you jailbreak the  platform), so
sharing a common set of libraries is not an normal option.

/r
_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest

John Ellson | 18 Jun 02:28 2009
Picon

Re: [graphviz-interest] graphviz on iphone ?

On 06/17/2009 06:46 PM, Stephen North wrote:
> Perhaps it would be feasible to compile with a minimal set of drivers, 
> e.g.
> the old libgd (that John Ellson keeps trying to get rid of!)  plus 
> freetype,
> maybe skip fontconfig and rely on some basic lookup tables for a few
> common fonts, libpng, zlib, that would about do it.

Can't iPhone handle SVG?  Perhaps drop all bitmap outputs?

_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest

John Ellson | 18 Jun 02:52 2009
Picon

Re: [graphviz-interest] graphviz on iphone ?

On 06/17/2009 08:46 PM, Stephen C. North wrote:


Can't iPhone handle SVG?
You're right - apparently Safari on the iPhone can render some SVG.

Perhaps drop all bitmap outputs?

I thought we leaned pretty heavily on gd or cairo/pango to estimate
the size of rendered text.

yes, we do, but...

We could still use fixed font tables for backup.


...right.  


Will the company provide me with an iPhone 3GS to support this?  ;-)
_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest
Stephen C. North | 18 Jun 02:46 2009
Picon

Re: [graphviz-interest] graphviz on iphone ?



Can't iPhone handle SVG?
You're right - apparently Safari on the iPhone can render some SVG.

Perhaps drop all bitmap outputs?

I thought we leaned pretty heavily on gd or cairo/pango to estimate
the size of rendered text.

We could still use fixed font tables for backup.

_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest
Arnaud Roques | 19 Jun 11:57 2009

[graphviz-interest] Text underline

Hello,

I know that this is a FAQ and that it is not possible to underline text with
graphviz, but I am looking for workaround.

I have found an *ugly* solution which is expained here:

http://plantuml.sourceforge.net/underline.html

The idea is to generated some "invisible" underscores like this:

digraph G {
T [label=<this is a<FONT COLOR="#FFFFFE">_</FONT>test<FONT
	COLOR="#FFFFFE">_</FONT>with underline>]
}

After image generation, a process is launched and draws black lines between
those underscores.

Another solution would be to generate a TTF font with all characters being
underlined by default, but I don't know how to do this. Is this possible?

Has someone some other ideas?

Regards,

Arnaud
_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest
Glen Low | 19 Jun 16:27 2009

Re: [graphviz-interest] graphviz on iphone ?

Oliver, All

> hello.
>
> is there a way to embed graphviz in iphone apps ? instaviz does a  
> great job, but sometimes graphiz functionality is needed as part of  
> an application, i. e. to display workflows in a worklflow application.
>
> best regards
> oliver bruening

Yes you can indeed embed Graphviz in iPhone apps. I've generally  
contributed all iPhone-related changes due to Instaviz back to the  
mainline, so at the very least you can compile a minimal Graphviz that  
supports output to Quartz, the native rendering system on OS X.

First though a little diversion into the different ways you could  
incorporate Graphviz graphs into your iPhone app:

1.	Instaviz has a URL scheme so you can simply just open an Instaviz  
URL with your graph to get it to display. See
http://www.cocoadev.com/index.pl?ChooseYourOwniPhoneURLScheme 
  (at the bottom).
	This is probably easiest but means you have a dependency on the user  
having Instaviz, and no nice way to get back to your app. (Although  
I'm hoping to get two-way URL handling working in Instaviz 2.0, so  
users can click on nodes and be sent back to the program. Nice to  
simulate HTML maps for example.)
	E.g. Nocsos DBR and IdeaTree have successfully implemented the  
instaviz URL.

2.	You could try any of the wrappers/modules I wrote around the  
Graphviz guts. I haven't yet decided whether to license them or just  
open-source them... they are:
	a.	GraphKit is a simple wrapper around Graphviz, so that each  
Graphviz component becomes an Objective-C object. You can then use  
Objective-C to do rendering etc.
	b.	GraphKitDraw is another layer which provides a persistent,  
rendered object model, this would be useful for things like displaying  
selections, displaying part of a graph, hit-testing etc.

3.	You could use Graphviz embedded as-is:

Here's the configure I use for iPhoneOS 3.0 and Graphviz 2.22:

./configure
	--build=i686-apple-darwin9
	--host=arm-apple-darwin9
	--disable-dependency-tracking
	--enable-shared=no
	--enable-static=yes
	--enable-ltdl=no
	--enable-swig=no
	--enable-tcl=no
	--with-codegens=no
	--with-fontconfig=no
	--with-freetype2=no
	--with-ipsepcola=yes
	--with-libgd=no
	--with-quartz=yes
	--with-visio=yes
	--with-x=no
	CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2"
	CPP="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2  
-E"
	CXX="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2"
	CXXCPP="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g+ 
+-4.2 -E"
	OBJC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2"
	LD="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld"
	CPPFLAGS="-arch armv6 -isysroot /Developer/Platforms/ 
iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk -miphoneos-version- 
min=3.0"
	CXXCPPFLAGS="-arch armv6 -isysroot /Developer/Platforms/ 
iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk -miphoneos-version- 
min=3.0"

These are the Graphviz modules I build:

patchwork
sparse
rbtree
visio
cdt
circogen
common
core
dot_layout
dotgen
fdpgen
graph
gvc
neato_layout
neatogen
pack
pathplan
twopigen
quartz
vpsc

At the end of the build process you should get a bunch of static libs  
that you can "just" link into your iPhone executable. The libs will  
allow you to output PDF's, CGImage's or directly onto a CGContext.

Hope that helps.

Cheers, Glen Low

---
pixelglow software | simply brilliant stuff
www.pixelglow.com
aim: pixglen
twitter: pixelglow

_______________________________________________
graphviz-interest <at> research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest


Gmane