Graphs, Edges & Nodes - Untangling the Social Web
by Joël Perras on May 19, 2010
- 4,855 views
Many of the most popular web applications today deal with highly organized and structured data that represent entities, and the relationships between these entities. LinkedIn can tell you how many degr...
Many of the most popular web applications today deal with highly organized and structured data that represent entities, and the relationships between these entities. LinkedIn can tell you how many degrees of separation there are between yourself and the CEO of Samsung, Facebook can figure out people that you might already know, Digg can recommend article submissions that you might like, and LastFM suggests music based on your current listening habits.
We’ll take a look at the basic theory behind how some of these features can be implemented (no computer science degree required!), and then dig in to a few practical implementations using PHP & and a relational database, as well as with Redis. Lastly, we’ll take a quick look at the current landscape of graph-based datastores that simplify many of these operations.
Accessibility
Categories
Tags
More...Upload Details
Uploaded via SlideShare as Apple Keynote
Usage Rights
© All Rights Reserved
Statistics
- Favorites
- 17
- Downloads
- 197
- Comments
- 3
- Embed Views
- Views on SlideShare
- 4,521
- Total Views
- 4,855
1–3 of 3 previous next Post a comment
We’ll take a look at the basic theory behind how some of these features can be implemented (no computer science degree required!), and take a quick look at the current landscape of graph-based datastores that simplify many of these operations.
e.g. if your application needs the ability for you to be your own ‘follower’ or ‘friend’.
Different types of edges: directed.
In geometry, a simplex (plural simplexes or simplices) is a generalization of the notion of a triangle or tetrahedron to arbitrary dimension.
Specifically, an n-simplex is an n-dimensional polytope with n + 1 vertices, of which the simplex is the convex hull. For example, a 2-simplex is a triangle, a 3-simplex is a tetrahedron, and a 4-simplex is apentachoron.
A single point may be considered a 0-simplex, and a line segment may be viewed as a 1-simplex.
A simplex may be defined as the smallest convex set which contains the given vertices.
The terms "arc", "branch" "line", "link" and "1-simplex" are sometimes used instead of edge
in a useful manner is quite difficult.
The graph is projected inside a 3D sphere using a special kind of space based hyperbolic geometry. This is a non-Euclidean space, which has useful distorting properties of making elements at the center of the display much larger than those on the periphery.
Hyperbolic space projection is commonly know as “focus+context” in the field of information visualization and has been used to display all kinds of data that can be represented as large graphs in either two and three dimensions.
Lists are best for things that need to be displayed in a given order, e.g. POST TIMELINE
Lists are best for things that need to be displayed in a given order, e.g. POST TIMELINE