Quantcast
Channel: NodeXL: Network Overview, Discovery and Exploration for Excel
Viewing all articles
Browse latest Browse all 4386

New Post: Is there a way to determine the way vertices are placed?

$
0
0
Yes, you can set a few parameters for the Fruchterman-Reingold algorithm, including a constant that determines the strength of the attractive and repulsive forces between the vertices (FruchtermanReingoldLayout.C) and the number of layout iterations (FruchtermanReingoldLayout.Iterations). These, and the other features I mention, are documented in the NodeXLApi.chm file that ships with the NodeXL Class Libraries.

Yes, there is an entire family of classes that implement different layout algorithms. A few are force-based, while most of the others are geometric: circle, spiral, grid, and so on. In the "LayoutBase Class" topic in the help file, the "Derived types" link will show you the available algorithms.

And yes, you can implement your own layout algorithm. You have to create a class that implements the ILayout interface. An easy way to do this is to derive your class from the supplied LayoutBase class and implement a few abstract members.

-- Tony

Viewing all articles
Browse latest Browse all 4386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>