I've looked into the admin interface as well as into thejit.module and can't find a page where i can alter the appearance of spacetree/force directed. The possibility for altering thejit display seems to be there as the debug pages show?

(only) Basic changes for force directed can be made in admin/config/system/jit/forcedirected.

Comments

Roi Danton’s picture

Issue summary: View changes

Rechtschreibung

Roi Danton’s picture

Issue summary: View changes

Fixing force directed

mrhanlon’s picture

The visualization is not configured via an admin page. This module is primarily aimed at module developers, and as such the configuration takes place in code by passing various options to the theme function.

The demo page is just a demo of all the things that can be done with the JIT, it is meant as an example. If you look at the code for the Spacetree and the demo view it should explain the various configuration options and how set them to change the appearance.

clemens.tolboom’s picture

I'm working on refactoring all settings to:
1. Make configuration of new thejit render engines easier
2. Integrate easy with graphapi module

So each thejit engine gets admin (global) settings usable for their test forms and for graphapi.

I guess these options appear this week.

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom
Category: support » feature
Status: Active » Needs work

For spacetree we now have urls
- jit/spacetree/debug
- admin/config/system/jit/spacetree
- views settings for graphapi

Not all settings have the expected effect. I suspect the booleans are sometimes taking the global instead of false. I'm not sure and hope one of our users have a clue.

Committed

clemens.tolboom’s picture

@Roi Danton could you test the new settings and probably tell me what's wrong :)

Roi Danton’s picture

Forgot to activate new Graph submodule. Will report later.

I've updated Graph API and thejit and did reset the format in the view. Besides that I am missing the rendertype Graph API no rendertype produces output at all (also tested graphviz). Other formats besides graph rendering are working as desired. Unfortunately there is no error message to specify the reason.

Roi Danton’s picture

Problem with width settings.
Before I updated the modules the width of thejit automatically scaled with the surrounding container. However now when using fluid design the width is fixed. However, when using "Enable hiding" or "Fullscreen" and you hide and show again (pressing the arrow button top right) the width settings has no effect (as it was before). E.g. you see it on my testpage with style "Tingle Bells Winter" (it's zen starterkit fluid).

So an additional option like fluid width/width not defined would be good.

Minor thing: style settings should be collapsed by default in view format settings since global settings are often enough i think.

Roi Danton’s picture

Most settings seem to work (didn't test all of them). Good job! Exception:

  • force directed: default node color has no effect (neither in global nor in local settings)
  • graph: Do not overlap does not work though set globally and locally

I think by the default the global settings should be applied to all the render types. Then create a checkbox in the view format settings so the site builder can decide when to override the global settings with local settings definable there.

clemens.tolboom’s picture

@Roi Danton Thanks for testing

The width problem should be addressed for spacetree ... I thought I fixed these for forcedirected right?

The fieldsets should be collapsed:
I want to hide irrelevant settings based on the engine selected. Would that help?
Or do you think the remaining fieldset should be collapsed anyway?

Should we require the dependency to graphapi to get views integration? That would solve the views mishap.

Roi Danton’s picture

I want to hide irrelevant settings based on the engine selected. Would that help?

Would be the best solution.

However I want to be able to change the settings globally for all views. So in the views Render type settings page an "apply global display settings for Graph Rendering" checkbox should be enabled by default. Only if disabled the user see those local settings.

Should we require the dependency to graphapi to get views integration? That would solve the views mishap.

Yes.

clemens.tolboom’s picture

See #1801110: Require graphapi module as a dependency for views integration.

@Roi Danton: what are the TheJit bugs/features and what are GraphAPI related ones? Do you mind creating new issues for Graph API :)

clemens.tolboom’s picture

Issue summary: View changes

Fixing again.