tipe / birdeye

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

ForceDirectedLayouter throwing type cast error #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a visualGraph.
2. set ForceDirectedLayouter as the layout algorithm.
3. add nodes using visualGraph.createNode()

What is the expected output? What do you see instead?
the layouter should work properly instead of showing error.

What version of the product are you using? On what operating system?
source code upto revision 1822.
opearting system - Windows XP

Please provide any additional information below.
The problem is due to following code:-
803  /**
804  * @inheritDoc
805  * */
806  public function get visibleVEdges():Array {
807  return _visibleVNodesList.sortOn("id");
808  }

this should be replaced with
803  /**
804  * @inheritDoc
805  * */
806  public function get visibleVEdges():Array {
807  return _visibleVEdgesList.sortOn("id");
808  }

Original issue reported on code.google.com by akshar.k...@gmail.com on 15 Feb 2011 at 9:04

GoogleCodeExporter commented 8 years ago
Hey, you're right! thats a silly bug, I will fix it. 

Original comment by wasbri...@gmail.com on 18 Feb 2011 at 8:00

GoogleCodeExporter commented 8 years ago
Fixed, and pushed, SORRY!

Original comment by wasbri...@gmail.com on 25 Feb 2011 at 6:27

GoogleCodeExporter commented 8 years ago

Original comment by wasbri...@gmail.com on 25 Feb 2011 at 6:27