It would be great if the styling of the node can depend on fields or taxonomy of the node. I mean it like this:

Lets say we a content type "animal". All are nodes and tagged with the type of animal "dogs, cats and elephants". If we now could add that taxonomy as css for styling, we could style each animal type node in a different color or even use images of the animal. That would make a graph better to "read".

This is only a basic idea. What do you thing/suggestions?

Comments

clemens.tolboom’s picture

I did some experimenting on http://clemens-tolboom.github.com/jquery-graphapi/tests/aegir-site-roles... ... that's just classes and css (IIRC)

For graph_phyz / jquery-graphapi I want to use display format for rendering entities for 'graphapi-teaser' and 'graphapi-full' which could render all entities in a consistent way. Then with our views we only have to add the URI's and their relations.

This should work for thejit partly too as it understands html for it's overlays (afaik).

So yes great idea.

I'm hoping for a sponsor soon to work on all issues regarding both projects :p

marcoka’s picture

i hope that you find a sponsor too. i only use it for some private localhost management experiment but i think this has some greate value for some bigger projects where its important to help the user visualizing things.
maybe these chipin (or whatever they are called) widgets may also be an option?

clemens.tolboom’s picture

Project: Graph API » Graph Phyz
Component: User interface » Code

I put this into the issue queue of Graph Phyz as if that provides a class value for both nodes and links that would make this possible.

Feel free to duplicate this issue if using another engine.