anvaka / VivaGraphJS

Graph drawing library for JavaScript
Other
3.76k stars 425 forks source link

Problem with centrality's use #147

Closed Istorn closed 9 years ago

Istorn commented 9 years ago

Hello, I've encountered a Problem with the use of centrality's functions: following your example and importing the centrality.js file into my project, during the printing of parameters (beetwennes and degree), the result of everything is only an array filled with generic Object.

Solutions?

anvaka commented 9 years ago

Vivagraph prints centrality as array of objects, where each object has two keys:

Which example were you following? I'd love to fix it if it is misleading.

Istorn commented 9 years ago

I left to you the file via message.