Active
Project:
Graph API
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Jul 2011 at 10:04 UTC
Updated:
18 Dec 2013 at 16:50 UTC
Jump to comment: Most recent
Comments
Comment #1
clemens.tolboomSpringy solved this by numbering the links and then dis-align them a little
See ie http://dhotson.github.com/springy/demo.html
Comment #2
clemens.tolboomThere are two problems to solve:
Allow for multiple links into the data structure.
The functions to add a link are not allowing for multiple links.
We should allow for a link_id which ie relation module knows of as each relation is an entity. By adding argument link_id we can allow for this.
and new function
But are contrib modules thejit_* capable of managing this? Same goes for graph_phyz.module
graph_phyz is rendering based on from/to IDs
The html generated by graph_phyz is
thus graph_phyz need to get an edge id. That should be another issue.
Comment #3
clemens.tolboomNote this is moving away from http://api.drupal.org/api/drupal/includes!graph.inc/7 data structure.
Shouldn't we stick to that structure? Relation module is deviating too.
I'm not aware of core use cases yet as module dependencies and hook_install_dependencies are just simple links.
Maybe #1247476: ModuleHandler::parseDependency fails on major version ops (>27.x) and (<=28.x) is a use case for core to improve on graph.inc as it has more edges between modules only distinguised by the versioned dependencies.
Comment #4
clemens.tolboomComment #5
ramazanaman commentedJust starting to learn Drupal. I will also be useful to know these methods. Thank you.
Comment #6
clemens.tolboom@ramazanaman: please be more specific.
Comment #7
clemens.tolboomAs we now use https://github.com/clue/graph we can build this :)
Comment #8
clemens.tolboomAs can be seen in the image below http://drupal.org/project/graph_phyz supports multiple links
As we are moving towards using Graph.php we have the problem how to prevent multiple links.
Please give some feedback on this.
Comment #9
clemens.tolboomOne puzzle is how to prevent unnecessary links. That is adding a links, then set the title, then set the data.
This should be done in one go.
Comment #10
clemens.tolboomThis is postponed for 8.x-1.x