New Post: No Edges
New Post: Graphs not appearing
-- Tony
Created Unassigned: Import from Facebook group does not appear in NodeXL Data Menu [24349]
I have copied FacebookAPI.dll and SocialNetImporter.dll into C:\Program Files\Social Media Research Foundation\NodeXL Excel Template\PlugIns
However, when I start NodeXl, the Facebook import group/page does not appear in the NodeXL>Data>Import menu (even after restarting Windows)
I am using:
- NodeXL Excel Template v1.0.1.238
- Social Network Importer v.1.7
- Excel 2010 over Windows XP.
Best!
Antoinet
New Post: How to lay out separate graphs for groups separetly, and other questions......
I'm new to this, so apologies for possible duplication. Here's what I'm doing and where getting stuck - would appreciate help: I'm trying to 'see' (analyze) the relationships (political, economic, personal, etc.) that exist among participants in a particular public policy environment. I've only 145 vertices (i.e., participants).
I'm using 'betweenness centrality' to show the importance of each node in the network (followed suggestion in Peter Aldhous's Feb 24, 2012 paper). In the network I'm analyzing, there are 5 (five) groups of participants (e.g., corporations, NGO's, etc.). I've manually assigned each vertex to a particular group, e.g., Red Cross is assigned to the NGO group and so on. I'm using Harel-Koren fast multiscale algorithm to layout the graph for ALL participants (vertices) - the outcome shows connections and so forth. So far so good.
Now, here are my questions and where I'm stuck: (i) I'd like to analyze each of these five groups separately and get five separate graphs, but not sure how to do it without creating five separate NodeXL files, (ii) I'm having difficulty getting image that is legible when transferred for inserting into MS Word or ppt - what is the best way to do it? (iii) should I be using something other than 'betweenness centrality?' for vertex size, and (iv) should I be using something other than the Harel-Koren algorithm?
Thank you very much and please let me know if any clarification needed.
New Post: How to lay out separate graphs for groups separetly, and other questions......
Thank you for the interest in NodeXL!
(i) If you have created Groups by vertex attribute you can turn off the display of each group by controlling the Visibility column of the Groups worksheet.
(ii) Right click the graph pane to access the Image options. You can output to a range of formats at any resolution you define.
(iii) Betweenness centrality is one of many network metrics. NodeXL also calculates Closeness and Eigenvector Centrality as well as PageRank. I encourage you to experiment with the metrics in the NodeXL workbook to find which highlight useful insights in the structure of your data.
(iv) Like network metrics, the best layout algorithm will depend on the nature of your data. Try the variuous choices (and explore the "Layout Options" in the Layout menu.
Regards,
Marc
New Post: How to lay out separate graphs for groups separetly, and other questions......
Thank you for your very prompt response. Your suggestion to my problem #1 solved the issue right away - thank you! I'm, however, still having problem with 'save image to file' regardless of the formats I select besides XPS, which unfortunately can't be inserted on Word or ppt, i.e., issue #(ii) remains an issue! Increasing the 'scale' would improve legibility but that will make vertex label overlapping worse! So, is there a 'Goldilocks' solution? :-)
Thanks for your suggestions on my issue # (iii) - I've tried different metrics but the 'betweenness centrality' and 'Eigenvector centrality' seems to work best and given Peter's article, I think I'll use 'betweenness centrality.'
Regarding the layout algorithm or issue #(iv), given the characteristics of my data set, my only choices are either Fruchterman-Reingold or Harel-Koren; while the former does show a nice visual representation for a group (without other groups being present), it is not very useful/intuitive when ALL groups are present (i.e., none are hidden). Also, I'm not sure at what point (or after how many click on 'Lay out again') the layout gets stable - this is less of a problem when analyzing only one group. As you can probably guess, I'm trying to simplify things and try to resolve my problems quickly (perhaps at the cost of not learning in-depth), so any suggestion would be very much appreciated
Last but not the least, bought your book to learn how to use NodeXL but like any book of similar nature, it has its coverage limitations because probably it was not possible to have all steps, instructions, and nuances included there (and that's why this discussion forum is so helpful). Nonetheless, in the next edition of your book, including instructions (or tips) to some common issue (e.g., your solution to my issue #(i)) and clarifying some important steps (e.g., what does 'margin' means in the 'layout option' in the graph?) would be very helpful for novice users like me. Thank you very much!
-sanbhu
Commented Unassigned: Import from Facebook group does not appear in NodeXL Data Menu [24349]
I have copied FacebookAPI.dll and SocialNetImporter.dll into C:\Program Files\Social Media Research Foundation\NodeXL Excel Template\PlugIns
However, when I start NodeXl, the Facebook import group/page does not appear in the NodeXL>Data>Import menu (even after restarting Windows)
I am using:
- NodeXL Excel Template v1.0.1.238
- Social Network Importer v.1.7
- Excel 2010 over Windows XP.
Best!
Antoinet
Comments: ** Comment from web user: tcap479 **
Are you certain you copied the two files with a ".dll" extension and not the two files with a ".pdb" extension? By default, Windows Explorer doesn't show file extensions (I can't imagine using a computer that way, but so be it), so it would be an easy mistake to make.
In Windows Explorer, with file extensions turned on (http://www.wikihow.com/Disable-Hidden-File-Extensions-in-Windows-XP), please verify that this folder:
C:\Program Files\Social Media Research Foundation\NodeXL Excel Template\PlugIns
...contains these THREE files:
FacebookAPI.dll
Smrf.NodeXL.GraphDataProviders.dll
SocialNetImporter.dll
-- Tony
New Post: How to lay out separate graphs for groups separetly, and other questions......
First, you want to save the image to an appropriate format. "BMP" is best, because it's lossless, but it also results in large files. Second-best is "PNG", which is often visually indistinguishable from BMP and produces much smaller files.
Second, you want to avoid--at all costs!--having Word or PowerPoint resize your image, which will wreak havoc with the image quality. I believe Word will leave the image at its natural size (and therefore best quality) if the image fits within the page margins. Otherwise, it will shrink the image to fit, and all hell will break loose as edges get the jaggies and labels get all blurred. So the secret is to resize your graph pane before saving an image so that the saved image will fit within a Word page. (By default, NodeXL uses the graph pane size as the saved image size.)
-- Tony
Commented Unassigned: Import from Facebook group does not appear in NodeXL Data Menu [24349]
I have copied FacebookAPI.dll and SocialNetImporter.dll into C:\Program Files\Social Media Research Foundation\NodeXL Excel Template\PlugIns
However, when I start NodeXl, the Facebook import group/page does not appear in the NodeXL>Data>Import menu (even after restarting Windows)
I am using:
- NodeXL Excel Template v1.0.1.238
- Social Network Importer v.1.7
- Excel 2010 over Windows XP.
Best!
Antoinet
Comments: ** Comment from web user: antoinet **
Hello Tony,
Thank you for your reply!
I had the two files in the right folder yesterday however, for some reasons, it did not work.
So I just uninstalled NodeXL, then deleted the socialnetimport dll files. I downloaded and installed again NodeXL then copied the dll files and now it works ...
Best,
Antoinet.
New Post: How to set font size of a vertex using C#?
iv.SetValue(ReservedMetadataKeys.PerVertexRadius, (float)10);
To set the shape of the vertex:
iv.SetValue(ReservedMetadataKeys.PerVertexShape, VertexShape.Disk);
How do I set the label's font size using C#?
Thank you.
New Post: How to set font size of a vertex using C#?
nodeXLControl.GraphDrawer.VertexDrawer.SetFont(Typeface typeface, Double fontSize)
You cannot set different font sizes for different vertices.-- Tony
New Post: How to set font size of a vertex using C#?
Typeface typeface = new Typeface("Calibri");
nodeXLControl1.GraphDrawer.VertexDrawer.SetFont(typeface, 14.0);
New Post: How to lay out separate graphs for groups separetly, and other questions......
Could you please elaborate on your comment, "So the secret is to resize your graph pane before saving an image so that the saved image will fit within a Word page. (By default, NodeXL uses the graph pane size as the saved image size.)?" Specifically, how would I 'resize' the graph before saving an image for ppt or word? I'm at lost here and would appreciate your detailed help - thank you!
-sanbhu
New Post: Graphs not appearing
Would it help if I attached my template?
Debra Sypien, LEED AP BD+C
Sustainable Facilities Coordinator
The Christman Company
New Post: Graphs not appearing
-- Tony
New Post: How to lay out separate graphs for groups separetly, and other questions......
The goal is to insert a graph image into a Word document without having Word resize, and therefore degrade, the image. There are several ways to do that, but here is a technique that's worked for me.
-
Open your Word document in Word and your NodeXL workbook in Excel.
-
In the ribbon in Word, set View, Document Views to "Print Layout". (That's in Word 2007. I hope it's the same in 2010 and 2013.)
-
In the Excel window, left-click your mouse on the "Document Actions" text at the top of the graph pane. The cursor will turn into a 4-way arrow. While holding down the left mouse button, drag the graph pane out of the Excel window and on top of the Word window. The graph pane is "detachable," so you can actually put it anywhere on the screen.
-
Once the graph pane is detached and on top of the Word window, resize the graph pane so it fits within Word's page margins. You can do that just like with any other window, with a click-hold-drag of the left mouse button on any of the graph pane's outer borders.
-
The graph pane is now the size you want, but the resizing may have distorted the graph. Click "Refresh Graph" to fix this.
-
Right-click the graph pane and select Save Image to File, Save Image from the right-click menu.
-
In the "Save Image to File" dialog box that pops up, set "Save as type" to "PNG (*.png)", then save the file.
-
Drag the graph pane back into the right side of the Excel window. Excel is a bit touchy about this, and you may have to try several times to get the graph pane back where it belongs.
-
In Word, use Insert, Illustrations, Picture to insert your saved image into the page.
-- Tony
New Post: How to lay out separate graphs for groups separetly, and other questions......
-- Tony
New Post: How to lay out separate graphs for groups separetly, and other questions......
Best wishes,
-sanbhu
New Post: How to lay out separate graphs for groups separetly, and other questions......
There is more information about saving images in the "Saving an Image of the Graph" topic at NodeXL, Help, Help.
-- Tony
New Post: A Question about Centrality Calculations
And in NodeXLApi Help file it says "Starting with version 1.0.1.122 of NodeXL, the centralities are calculated using the SNAP graph library...", so does it mean that the built-in algorithm of this class is from SNAP or I have to use another class called "SNAP library"?
Hope you can help, and sorry for my bad English.;-)
Best wishes. Larry.