bug found while viewing demo site

30 views
Skip to first unread message

wannaViz_alot

unread,
Feb 14, 2012, 6:15:04 PM2/14/12
to canviz
initBB: function() {
var matches = this.getAttr('pos').match(/([0-9.]+),([0-9.]+)/);
var x = Math.round(matches[1]);
var y = Math.round(this.canviz.height - matches[2]);
this.bbRect = new Rect(x, y, x, y);
}

chased down to... matches[2] is undefined

Ryan Schmidt

unread,
Feb 14, 2012, 7:14:16 PM2/14/12
to can...@googlegroups.com

Could you be more specific about what you're doing to see this problem? Are you viewing the demo on my server or yours, or locally on your machine? If not on my server, what version of Graphviz did you use to generate the xdot files, and what version of Canviz are you using? Are you viewing the standard Graphviz demo graphs or different graphs?

matches[2] should not be undefined, if the file Canviz is processing is an xdot file generated by Graphviz. Could you show me the xdot file that causes the problem?


Reply all
Reply to author
Forward
0 new messages