Closed (fixed)
Project:
Graph Phyz
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 May 2011 at 08:33 UTC
Updated:
11 May 2013 at 17:20 UTC
When we have #1143682: Add export to menu we need to display it's content back to the user.
I'm not sure how to implement this apart from supplying options
The options needed are:
- animate: false (in place)
- randomize: false (this is done on init of the graph
Comments
Comment #1
clemens.tolboomThe export to dot is not useful for re-rendering. We then need the (x,y) coordinates of each individual node.
Comment #2
clemens.tolboomRelated to #1129758: Render with physics once
Comment #3
clemens.tolboomJust a note about http://drupal.org/project/draggableviews
That provides storage of the order of the views items.
Comment #4
clemens.tolboomFor this to work we need storage for the rendered data and URIs should keep working.
Best think we could do is define and input format so people can play with the jquery-graphapi rendering.
Then we should export the result and stuff that data into a node body having a graphapi input format.
1. Let a view renders output to Graph Phyz format.
2. Let jquery-graphapi render it's visualisation.
3. User stops animation and starts Drag/Drop
4. User exports to a (new) text format understand by jquery-graphapi
5. User create a new node and puts the text into a input filter [graph_phyz]..data..[/graph_phyz]
6. Input filter is then rendered into a jquery-graphapi structure without animation.
The data could be json string as it doesn't need user editing. We could also use 'just' the html content but that may contain html tags which get filtered out.
Comment #5
clemens.tolboomComment #6
clemens.tolboomI still have no clue how to store the data.
This is in a way Graph APIs problem as it should provide for an (X, Y).
Comment #7
clemens.tolboomThis is partly fixed. See link test
Comment #8
clemens.tolboomWe can now set x,y for nodes.