graph

Facebook Graph API Set a Valid Session

Okay, I am attempting to use PHP Sessions to maintain my Facebook Session info (user, access_token, etc.) so that I can pull in data feeds from other pages securely for my members. I thought it might be as simple as attaching the access_token to a $me graph api call and catching an expired/invalid session or if the access_token is valid...

Choice of library/framework to implement a small collaborative web application

We are a group doing some academic research on Human-Computer Interaction and usability. Right now, we need to implement and test a new concept in order to evaluate it. The end-product will basically be a small website. The website has some basic sign up and log in facilities. But the main functionality is a canvas were multiple users c...

jgraph like component on vaadin framework

Hi, Currently I am working on a process manager kind application, which needs jgraph( http://www.jgraph.com ) kind of component. The process manager is a kind of process flow chart. I am currently using vaadin framework. Is there any such built in components available in vaadin or can i have any plugin to create a drag & drop graph for ...

High-performance .NET sweep/oscilloscope graph component needed.

I'm searching for a .NET graph component. It should be able to plot data in sweep (oscilloscope) mode and if possible also as a scrolling waveform. On the x-axis I want timestamps (e.g. 18:25:00) and it should be possible to plot two vectors (DateTime[] and double[]). That is, data points are not equally spaced, but come with their own t...

Dot graph language - how to make bidirectional edges?

Here is a very simplified example of my Dot graph: strict digraph graphName { A->B B->A } This creates Instead I want a single edge shown between A and B but with a double arrow head. I know how to get the double arrowhead as a global option: strict digraph graphName { edge [dir="both"] A->B B->A } But that looks very ugly, an...

Graphic representation of instances in RDF (on website)

With Protege I made an ontology that has some classes and instances. Class "Knowledge" has a property "hasSubKnowledge" which domain and range are both of type "Knowledge". I have around 200 individuals of type "Knowledge". I made a JSP and my job is to somehow graphically represent my "Knowledge" tree (RDF). Is it possible that ontolog...

Publish limit on Facebook's Graph API

Hey guys, I've been using the Graph API for a while. One feature of my application is that it allows a user to post a message on their friends walls (dont worry it is not spam). Anyway...there is a limit on the API and it will only allow a certain number of posts before failing. I've read on the facebook bucket allocation limits but ...

Converting graph traversal to multiprocessing in Python

I've been working on a graph traversal algorithm over a simple network and I'd like to run it using multiprocessing since it it going to require a lot of I/O bounded calls when I scale it over the full network. The simple version runs pretty fast: already_seen = {} already_seen_get = already_seen.get GH_add_node = GH.add_node GH_add_e...

Find k rectangles so that they cover the maximum number of points

In two dimensional space, given a bunch of rectangles, every rectangle covers a number of points and there may be overlap between two arbitrary rectangles, for a specified number K, how can i find the k rectangles such that their union cover the maximum number of points? In this problem, if a point is covered by more than two rectangles ...

repeat y axis scale along grid line of graph ( matplotlib)

Hello, I am new to matplotlib and I am trying to figure out if I can repeat the y axis scale values along the grid lines of the line graph. The graph has 2 axis, x-axis has hourly values and y-axis has temperature values. I need to show the graph for 48 hours, so it results in a long horizontal graph. when user scrolls through the ...

create a boxplot in R that labels a box with the sample size (N)

Is there a way to create a boxplot in R that will display with the box (somewhere) an "N=(sample size)"? The varwidth logical adjusts the width of the box on the basis of sample size, but that doesn't allow comparisons between different plots. FWIW, I am using the boxplot command in the following fashion, where 'f1' is a factor: boxpl...

how to insert a hashMap into excel to draw a graph

I have a hashMap in java in terms of some keys which each key is indicating a flow. Then each value showing statics about each packet belongs to that flow. What I need to do is, to draw graphs for each flow based on those values. for example: Flow1: {[length, time],[],[],...} Flow2: {[length, time],[length, time],[],...} I need to p...

JavaScript: How to get the center of a pie slice?

Hi I am trying to create a simple pie chart using the HTML canvas element. I found a nice tutorial on the web and starting to learn how it is done. Now I want to add some text and since I am pretty retarded at math/geometry I need to know how to find the center of each slice in the pie where the text can be added. Here is the loop code...

How to remove cycles or loops in graphs in visual basic?

There are many articles in this site regarding my question. I have a matrix for example (10 x 10) which represents 10 nodes. The matrix called MyMat(9,9) The rows of this matrix represent the source node (From Node) and the columns represents target node (To Node). It has 14 links which are randomly distributed. The non zero values repr...

Using both Facebook Graph API and Old Rest API? Please help!

Hello! I am developing a Facebook application that will use Facebook events. I want to be able to create and edit event as well as invite users friends to the event. I prefer to use the new Graph API to handle all connections with Facebook and I many ways I am able too, but, the Graph API cannot send invites. I saw that the Old Rest A...

How to set the width and heigth of the ouput image in Pygraphviz

I am creating a .png file like this: import pygraphviz as pgv G = pgv.AGraph() G.add_nodes("a") G.add_edge("b", "c") G.layout() G.draw("output.png") How can I set the size of the output image? ...

PEAR Image_Graph XAxis coordinate orientation

I'm making a graph using PEAR Image_Graph and the bottom coordinates labels are dates. Instead of the labels (dates) displaying horizontally, I'd like them to display vertically - or maybe at a slight angle, so they aren't all on top of each other. However, I'm not sure if this is possible and I can't seem to find anything in the docum...

need info on open source tools/libs

for (i) generating control flow graphs(CFGs) for Java & C based applications (ii) pref these graphs in GXL format (I came to know that lots of graph visualization tools accept gxl format files (iii) performing graph traversal algos by reading the graph from gxl format. Also what is the best representation of CFGs ...

matplotlib weirdness, it's not drawing my graph

What happened is I followed this demo, I modified it to suit my needs had it working, changed it to use a function to draw two graphs but now it doesn't work at all using plt.show() or plt.savefig() here's my code import csv import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.m...

Printing data on the side after generating a graph using JGraph library in PHP

Hello I need to generate a report which would include both data and a graph image which is a pictorial representation of the data printed. Now the problem is, the function "stroke" in jpgraph generates the graph, so I get an error if I try to echo any information before the stroke function, and nothing prints onto the browser after the s...