Feature #539
closedNetwork graph visualisation
Description
A nice feature would be to visualise an entities relation to other entities in the browser for example with http://visjs.org/
Easy to use js library. Easy to implement.
To do:
(recursive) Query for central node and related nodes with some iterations - in ajax/php and push to js
create network graph with vis.js
style, format etc...
Examples:
http://visjs.org/network_examples.html
Query draft nodes:
SELECT uid AS id, entity_name_uri as label, classes_uid as group FROM openatlas.tbl_entities WHERE uid in
(
with recursive links (uid_from, uid_to) AS (
Select links_entity_uid_from, links_entity_uid_to
FROM openatlas.tbl_links
WHERE links_entity_uid_from = 5684
UNION
Select uid_to, links_entity_uid_to
FROM openatlas.tbl_links, links
WHERE links_entity_uid_from = uid_to
)
SELECT distinct uid_from FROM links ORDER BY uid_from)
Query draft links:
with recursive links (uid_from, uid_to) AS (
Select links_entity_uid_from, links_entity_uid_to
FROM openatlas.tbl_links
WHERE links_entity_uid_from = 5684
UNION
Select uid_to, links_entity_uid_to
FROM openatlas.tbl_links, links
WHERE links_entity_uid_from = uid_to
)
SELECT distinct uid_from as from, uid_to AS to FROM links ORDER BY uid_from
draft example:
http://homepage.univie.ac.at/stefan.eichert/networkgraph/
Updated by Stefan Eichert almost 9 years ago
Ready to be implemented.
tbd together: queries to get data from db...
@Alexander Watzinger: Worksession in 2016?
Updated by Alexander Watzinger over 8 years ago
- Status changed from New to Assigned
Updated by Alexander Watzinger almost 8 years ago
- Status changed from Assigned to Acknowledged
- Assignee deleted (
Stefan Eichert)
Already implemented in Demo Version with vis.js but is too slow for a generalized implementation in the main version. Maybe look for a faster library?
Updated by Alexander Watzinger over 7 years ago
- Category set to UI
- Status changed from Acknowledged to In Progress
- Assignee set to Alexander Watzinger
- Target version changed from Wishlist to 2.4.0
- Estimated time set to 16.00 h
Found 3d.js which is faster and testing at the moment with MEDCON data.
Updated by Alexander Watzinger over 7 years ago
- Status changed from In Progress to Closed