horten3459540 / bnt

Automatically exported from code.google.com/p/bnt
0 stars 0 forks source link

Neato text compare broken #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run draw_dot(G)
2. Error is returned.
3.

What is the expected output? What do you see instead?
A graph.  Instead I see an error.

What version of the product are you using? On what operating system?
neato - graphviz version 2.28.0 (20110507.0327) 

Please provide any additional information below.
It looks like the output from neato has changed so that the text compare on 
line 95 in dot_to_graph.m no longer works.  If I change the line to 

[node_pos] = sscanf(line(pos_pos:length(line)), 'pos="%f,%f"')';

(from [node_pos] = sscanf(line(pos_pos:length(line)), ' pos = "%d,%d"')';)

then it works. Also, I did not have the range function in my distribution which 
is called in line 114 and 115 of dot_to_graph.m.  I took a guess that it is 
simply max(x)-min(x) and that seems to work.

Original issue reported on code.google.com by bob.bax...@gmail.com on 5 Jan 2012 at 9:43