I am using relation module to create Manager relation between users
Also I will create relation between users and departments(another entity type)

But I am facing problem in creating any type of graphs..

how to use Graph API with relation.

Thanks

Comments

clemens.tolboom’s picture

With relation module you can create a view for which the Display should be Graph API

When having installed graphapi you could enable GraphPhyz module or add thejit project for forcedirected/spacetree

Checkout Graphing Modules and it's sub pages esp. http://drupal.org/node/1392374

Please do add screenshots to the documentation pages :)

tassaf’s picture

Thanks for your reply..

I tried to do the same thing but it's not working

this is my view screenshot

What is wrong in this view

clemens.tolboom’s picture

@tassaf your link to screen shot is not working. Please upload the image with your comment.

You can also export then save to text file and upload your view if you like. No paste in comment please :)

tassaf’s picture

Sorry.. the image is attached

clemens.tolboom’s picture

StatusFileSize
new4.78 KB

From the screenshot I cannot see any immediate error. Have you checked the
Format-graphapi-settings.png
settings ?

What happens when you change the format to HTML Table?

You could attach your exported view (as text file).

tassaf’s picture

Here is the view export file and the result when changing the settings into table instead of graph

clemens.tolboom’s picture

Both view export as table output looks ok to me :/

Is there output with formatter 'graphviz' ? That should be simple text when previewing or visiting.

Can you provide some more info on you system? What browser / os / etc ? List of modules + versions used like graph API, relations, thejit ...

I'll try to test this the next week.

tassaf’s picture

I tried using all browsers like Mozilla.. Chrome .. Internet Explorer..

Modules versions are the latest.. I don't know what is the problem..

When you imported the view is it working fine? can you show me that graph please?

clemens.tolboom’s picture

Status: Active » Postponed (maintainer needs more info)

Have you checked the documentation page http://drupal.org/node/1398400?

clemens.tolboom’s picture

If you enable the demo you get a graph tab on the modules page: admin/modules/graph

clemens.tolboom’s picture

Project: Graph API » Graph API Relation
Component: Relation module » Code
JCostaC’s picture

StatusFileSize
new111.35 KB
new138.2 KB

Hello,
I have tried to create the relation's graph but i'm getting a grey screen (see attachment for screen and setting).
On the other hand i've tried to use Graph Api Relation but I don't know how to set it up!

If someone could help me I would be very glad! (I'd prefer knowting my mistake, but if someone could indicate me briefly how to use Graph Api Relation I would glad too)!

Jamie

clemens.tolboom’s picture

Status: Postponed (maintainer needs more info) » Active

Well your plumbing seems in order. As there is a rendering engine active. is it space tree or graph phyz?

You did not tell what's on admin/modules/graph ?

I see your views Preview is empty. That should not be. What happens if you change the format to a item list or table?