1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Graph Clustering by category

Posted by karl on Apr 22, 2009

I would like in the graph module to add clusters for objects belonging to the same category.

g.add_node("PHP", category="lang")
g.add_node("C++", category="lang")

g.add_node("js", label="John Smith", category="people")
g.add_edge("js", "PHP")
g.add_edge("js", "C++")

g.add_node("ms", label="Martha Stewart", category="people")
g.add_edge("ms", "PHP")

I would like to have a cluster for the category people. so that people in the graph would be centralized.


 
Posted by karl on Apr 23, 2009

I started by creating nodes by categories, but the issue is that it adds visible noise. If I could "hide the category node" that could be a part of the solution. Except if someone has a better idea.