I have created a view based on relations. I was using theJit spacetree as render type and it was rendering fine. I have decided to upgrade the graph modules - graphAPI, graphviz,graph_phyz, theJit - to the latest dev versions and structure. The view doesn't render anymore when using theJit (spacetree or force directed) as render engine although it did before the upgrade. It renders only with graph_phyz. When I opt for theJit spacetree it shows only the background grey canvas and the Fullscreen and Hide Visualization controls don't work. In the content section of the view I can see the appropriate code generated. What I might be doing wrong?

Comments

clemens.tolboom’s picture

The plumbing to render a spacetree is active. Maybe the mapping needs some adjustments for the spacetree?

You could try to reconfigure the views format for spacetree.

Also check the error report. Maybe you found a bug.

svla299’s picture

I have reverted back to the previous commit and everything works as expected.
Looking at the log messages I am getting many of the following :
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in views_plugin_style_graphapi->options_form() (line 148 of D:\xampp\htdocs\www\sandbox2\sites\all\modules\graphapi\views\plugins\views_plugin_style_graphapi.inc).
whenever I edit a view of graph type.

clemens.tolboom’s picture

Status: Active » Postponed (maintainer needs more info)

Have you checked the demo pages of Graph API too?

clemens.tolboom’s picture

Category: support » bug
Status: Postponed (maintainer needs more info) » Active

I can reproduce this and it's a bug.

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom
Status: Active » Fixed

I've tested this bug. The mentioned code was obsolete.

The cause of not rendering a spacetree or force directed had to do with the Global ID value 'graphapi-default'. Changing that into 'graphapi_default' fixed the jit.

See thejit #1900144: The id for settings is used both in html and javascript. Using a '-' makes javascript useless.

Status: Fixed » Closed (fixed)

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