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

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom

The export to dot is not useful for re-rendering. We then need the (x,y) coordinates of each individual node.

clemens.tolboom’s picture

clemens.tolboom’s picture

Just a note about http://drupal.org/project/draggableviews

That provides storage of the order of the views items.

clemens.tolboom’s picture

Component: Code » graph_phyz

For 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.

clemens.tolboom’s picture

Project: Graph API » Graph Phyz
Version: 7.x-1.x-dev »
Component: graph_phyz » Code
clemens.tolboom’s picture

Version: » 7.x-1.x-dev
Assigned: clemens.tolboom » Unassigned

I 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).

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom

This is partly fixed. See link test

clemens.tolboom’s picture

Status: Active » Fixed

We can now set x,y for nodes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.