You are here

function d3_graphapi_default_settings in d3.js 7

Implements hook_graphapi_default_settings().

We reuse the default settings from thejit_forcedirected_default_settings.

See also

thejit_forcedirected_default_settings()

views_object::option_definition()

File

./d3.module, line 592
D3 module file for creating visualizations with d3.js.

Code

function d3_graphapi_default_settings() {
  return array(
    'd3' => array(
      'library' => array(
        'default' => 'd3.forcedirected',
      ),
    ),
  );
}