Closed (works as designed)
Project:
Graph API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2012 at 14:23 UTC
Updated:
10 Aug 2012 at 08:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
clemens.tolboomThanks for reporting. I think this is a bug for thejit.js but not for 100%.
Could you try to render your data into graphviz output? That is a plain text for now. (Did I commit that code?!?)
This related to graphapi #1396538: Should we merge multiple views outputs into 1 graph? which sould lead to displaying raw output.
Comment #2
marcoka commentedheres the raw data (graphviz) for these relations: http://www.root.artwaves.de/screensnapr/1332347362-is1df6.jpg
Comment #3
clemens.tolboomThanks for posting.
The graphviz output contains duplicate relations/links. You screenshots intention is a plain directed graph. The data provided renders to this image with graphviz on mac.
The data
24 -> 23 23 -> 24 23 -> 25 23 -> 26 23 -> 27 23 -> 28 23 -> 30 23 -> 31 25 -> 23 26 -> 23 27 -> 23 28 -> 23 30 -> 23 31 -> 23has it's links back and forth like23 -> 25 25 -> 23So this is a bug of Graph API duplicating the links somehow.
I set this issue priority to major as graph API results are a little untrustworthy now :(
Comment #4
marcoka commentedi digged around a bit, this logic must be implemnted in thejit js code, as far as i see this
Comment #5
marcoka commentedok wrong. i am taking a look at this.
this happens if the relationship node <-> node is set to any
Comment #6
marcoka commentedsome notes:
line 89 views_graphapi_style.theme.inc
views result coming in -> http://www.root.artwaves.de/screensnapr/1342807880-KtKoaa.jpg
line 113 $graph is
http://www.root.artwaves.de/screensnapr/1342807966-IwGagC.jpg
63 contains two edges now, wrong.
i am starting to think that this is wrong data provides by relation/views
Comment #7
marcoka commentedit seems, that the relation can NOT be set to any. any would get data "everything Y that relates to X automatically has Y relate to X". and so every node will have double arrows.
Comment #8
clemens.tolboomI'm not getting this issue anymore ... can you please update the issue summary a little if still needed :)
When you change the views format to ie a table format you should get the duplicates too. So no need for screenshots I guess. If needed more screenshots please embed these :p
What is the relation defined by you between the nodes?
Comment #9
marcoka commenteddirectional called "links to" so node x links toy and so on.
as said, i also asked it in teh relation issue queue. you can not use ANY :) just source or target. and it works.
i think we can close that?
Comment #10
clemens.tolboomAccording to #9 this is a problem of the relation module.