graph

Facebook Graph API - publish Flash Attachment

Hi guys, I am struggling with the new graph api, trying to publis stream with flash attachment. However docs http://developers.facebook.com/docs/api says its only possible to post /PROFILE_ID/feed with arguments: message, picture, link, name, description , I have discovered that even other works (caption, ...) Now I would like to guess c...

How to increase limit of graph in LINQPad?

Results shown in LINQPad are limited. If objects are deep nested, a red line is shown. I would like to increase a limit, so I can see more nested objects. Do you know how to do it? (I have not find that in options.) ...

Best web technology for building dynamic charts

I need to build a custom designed bar chart that displays some simple data. Below are my requirements. Can anyone suggest the best web technology for my requirements. high browser compatibility ability to draw shapes ability to fill shapes with gradients ability to have onclick and onmouseover events for the different shapes (bars ...

[C++] Write connected components of a graph using Boost Graph

I have an file that is a long list of weighted edges, in the following form node1_id node2_id weight node1_id node3_id weight and so on. So one weighted edge per line. I want to load this file into boost graph and find the connected components in the graph. Each of these connected components is a subgraph. For each of these compon...

Paint a graph in Java using AWT

Hi, I'm searching a possibility to paint a graph in Java using AWT. My knowledge of Java is still basic, so this is mainly for getting used to AWT, even if it's already "old". -Felix ...

How can I shade a region between two lines in flot?

I have had a lot of success creating graphs with Flot. However, I can not seem to figure out how one would go about shading in a region between two lines using the library. My goal is to be able to create shaded regions as illustrated below: I found this plugin, but it appears that it can only shade a range of values of a line, as ...

Utilise Surv object in ggplot or lattice

Anyone know how to take advantage of ggplot or lattice in doing survival analysis? It would be nice to do trellis/facet like survival graphs. So in the end I played around and sort of found a solution for a kaplan meier plot. Apologize for the messy code in taking the list elements into a dataframe, but I couldnt figure out another wa...

Efficient way to find node set having relationships to given nodes using neo4j

Is there an efficient way with given two nodes to find a set of their common nodes (with defined relationships). For example, having nodes A1, B1, C1-C4 connected with relationships x and y: A1 --x--> C1 A1 --x--> C2 A1 --x--> C3 B1 --y--> C2 B1 --y--> C3 B1 --y--> C4 a common node set for A1(x) and B1(y) would be [C2, C3]. ...

Facebook Graph API - likes returns me an empty set...

When I try to get all my "likes" (formerly fan pages) on Facebook Graph API, sometimes it returns me an empty set: { "data": [ ] } I tried with https://graph.facebook.com/me/likes?access_token=MY_ACCESS_TOKEN and with graph.facebook.com/vinch/likes?access_token=MY_ACCESS_TOKEN but the result is exactly the same (empty). Any id...

how to elegantly duplicate a graph (neural network)

I have a graph (network) which consists of layers, which contains nodes (neurons). I would like to write a procedure to duplicate entire graph in most elegant way possible -- i.e. with minimal or no overhead added to the structure of the node or layer. Or yet in other words -- the procedure could be complex, but the complexity should no...

WPF Graph Layout Component

Does anyone know of or even better.. can wholeheartedly recommend a WPF graph layout component (Microsoft Research had GLEE a while back but it hasn't been updated after 1.0 since 2007 and isn't WPF etc) as seen e.g. in the screenshot below? I've seen yFiles WPF and Lasalle's AddFlow for WPF, but are there any alternatives? (c) Scree...

Graph visualization libraries on iphone

Are there are any libraries that are available for visualizing graphs for iphone sdk? Something like this. There is no need for any animation. Simple laying out of graph is fine. Any pointers are appreciated! ...

representing graph using database

I need to represent graph information with database. Let's say, a is connected to b, c, and d. a -- b |_ c |_ d I can have a node table for a, b, c, and d, and I can also have a link table (FROM, TO) -> (a,b), (a,c), (a,d). For other implementation there might be a way to store the link info as (a,b,c,d), but the number of elements...

What are the best ways to store Graphs in persistent storage

I am wondering what the best ways to store graphs in persistent storage are, for later analysis, search, clustering, etc. I see neo4j being an option, I am curious if there are also other graph databases available. Does anyone have any insights into how larger social networks store their graph based data (or other sites that require the...

Debugging BFS tree travesal algorithm

I'm working alone on this project and could use another set of eyes to look at this to see what I am doing wrong. The first loop runs infinitely. public void bfs(String start) { //Initial Case add_queue.add(start); graph.visit(start); Iterator<String> neighbors; String neighbor; w...

writing depth first search in c

I'm trying to write depth first search in C. In the search instead of maintaing a set of all the reachable nodes I instead have to mark the isVisited field in Vertex as a 1 for visited. Here's my data structs and my algo attempt. struct Vertex { char label; int isVisited; int numNeighbors; struct Vertex** neighbors; }; ...

Facebook Graph API will not give me picture data.

Using PHP 5.2.11 and the new facebook graph code... If I call $facebook->api("/me"); I get a proper response: array 'id' => string '10700210' (length=8) 'name' => string 'Brandon Renfrow' (length=19) 'first_name' => string 'Brandon' (length=7) 'middle_name' => string '✫' (length=3) 'last_name' => string 'Renfrow' (length=7...

Drawing graphs on java

I want to draw graphs (nodes and edges) in Java. However, since I don't know how to go about it, I would like to have some advice before starting. How should I do this? use Graphics2D package, right? How about the labels for the nodes? should I use something like drawString and handle all the "centering" manually or create a JLabel fo...

API for displaying graphs in a web app?

I have graphs (nodes/arcs) that I want to display to the user. I need to be able to capture the event of a user clicking on a node. Something like Google Charts API's Simple Org Chart would be great, but it looks like it only supports trees. I would like to use JavaScript. What other service/toolkit can I use? Or should I hack somethi...

Why doesn't the Java Collections API include a Graph implementation?

I’m currently learning the Java Collections API and feel I have a good understanding of the basics, but I’ve never understood why this standard API doesn’t include a Graph implementation. The three base classes are easily understandable (List, Set, and Map) and all their implementations in the API are mostly straightforward and consiste...