1
Vote

"Vertex '{0}' in dot layout output does not have position, width or height set."

description

When providing a large number of items and links and using GraphViz 2.30.1 I'm getting:
"Vertex '{0}' in dot layout output does not have position, width or height set." exception.
Seems to have a null value in graphviz4net /src/Graphviz4Net.Core/LayoutDirector.cs::BuildSubGraphs().

After removing 2.30.1 and installing 2.28, seems to work fine.

Nice Project BTW!

Regards,
Tal.

file attachments

comments

stevesindelar wrote Jun 9, 2013 at 5:02 PM

Thank you for reporting this. What is a large number of items? If you turn on logging (LogGraphvizOutput="True"), Graphviz4Net will create files tmp.dot, tmp.layout.dot, could you perhaps attach these?

TalTzf wrote Jun 9, 2013 at 8:58 PM

Actually, from knowing GraphViz this not Large at all, just few (4-6) Nodes with 2 Edges each.

Where do I set this (LogGraphvizOutput="True")?
I'll need to remove and install the new version again for it, so I'll try to do it tomorrow.

Tal.

stevesindelar wrote Jun 9, 2013 at 9:31 PM

It is a property of the WPF component, i.e. should be set in XAML on WPF:GraphLayout element. In the example application, it's set by default. Btw. you're using the latest release i assume?

TalTzf wrote Jun 10, 2013 at 8:29 AM

Hi,

Here are the files, I'm using the latest version I've downloaded it yesterday.
I've not changed the GraphViz to 2.30.1, but I think those 2 files should be enough for you?

TalTzf wrote Jun 10, 2013 at 8:29 AM

The second file....

stevesindelar wrote Jun 10, 2013 at 9:00 AM

Thanks for the log files. They look alright, so something strange must be happening somewhere. I will have a look at it later today hopefully.