Welcome to GraphSpace! This page should help familiarize you with GraphSpace's interface and basic features.

What is a graph?

A graph is a mathematical object containing vertices (also known as nodes or points) and edges which connect the vertices.
Graphs are used to represent many different things such as computer networks, biological pathways, and many more.
GraphSpace allows people to store and share graphs, regardless of what those graphs represent.

Finding and viewing graphs

Notice the bar at the top of the screen. On the left hand side, right next to the big "GraphSpace" logo, are links to your graphs and groups.
On your graphs page, you will see buttons at the top of the page called "My Graphs", "Shared with me" and "Public graphs".
  • My Graphs will show graphs that you own (you have uploaded).
  • Shared with me will show graphs that have been shared with you through groups.
  • Public graphs will show graphs that have been made publicly available on GraphSpace.
You can also look at groups, which are collections of graphs shared by members of the group. Click on groups in the navigation bar. You should see the following categories for groups
  • Owner of are groups that you have created and are the owner of. You can set the description of groups that you own as well as add or remove members.
  • Member of are groups that you have been added to. You can view or add graphs to these groups.
  • Public groups are groups that have been made publicly available. You can view graphs within them, but can only add your own graphs to them if you are a member.

Uploading graphs

GraphSpace represents graphs using a JSON format. Below is an example of a very simple graph.
{
   "graph" : {
      "data" : {
         "edges" : [
            { "source" : "2", "target" : "1", "id" : "2-1" }
         ],
         "nodes" : [
            { "label" : "A", "id" : "1" },
            { "label" : "B", "id" : "2" }
         ]
      }
   }
}
Copy and paste this graph into a file, and then upload it using the following command (on Linux):
PUT -C [username]:[password] http://http://graphspace.org/api/users/[username]/graph/[graphname] < [graph file]

Sharing graphs

To share one of your graphs, navigate to that graph and expand the Sharing panel on the right hand side. You can either make the graph public to everyone, or click on "Edit" to change the groups that the graph is shared with. Choose any groups you belong to in order to share the graph with those groups.