gnowledge/gstudio — pull request #570 by kedar2a (2014-07-12 15:50:26+00:00)
Title: Graphs: Implemented NBH function and showing only current obj's applicable graph/s

**Implemented ```get_neighbourhood()``` to object and showing graph with req. custom attributes and relations:**
- Now graph is visible with *relations* and *attributes(custom)* along with some *important node attributes*.
- Also in custom attributes which are not necessary are filtered.
- Added *tooltip* to each element of the graph.
- Worked on *width* and *X-Position* of *rectangle box (around end values)*. So that text fits into the box correctly and at the center of box.

**Showing current Object's applicable graphs only:**
- We have three types of graphs:
1. **Concept Graph:** The graph showing it's attributes and relations.
2. **Collection Graph:** The graph showing item's in collection_set.
3. **Dependency Graph:** The graph showing item's in prior_node.
- Many of the times node object doesn't have collection and/or prior_node, still JS script was processed and 3 ajax call were made.
- Now this behavior is changed. And only applicable graphs will be shown.
- Among three, *Concept graph* is default and will always appear.
- This optimization, reduces time to load the page and overhead at back-end.