json-url | URL of JSON file to load graph data directly from. Will override content of the nodes and links component properties so either use one or the other. JSON should contain an object with two list properties: nodes and links. | |
nodes | List of node objects. Example: [{"id": 1, "name": "first"}, {"id": 2, "name": "second"}] | [] |
links | List of link objects. Example: [{"source": 1, "target": 2}] | [] |
num-dimensions | Number of dimensions to run the force simulation on (1, 2 or 3). | 3 |
node-rel-size | Node sphere volume per val unit. | 4 |
node-resolution | Geometric resolution of each node, expressed in how many slice segments to divide the circumference. Higher values yield smoother spheres. | 8 |
line-opacity | Opacity of links. | 0.2 |
auto-color-by | Node object accessor function (fn(node) ) or attribute (e.g. 'type' ) to automatically group colors by. Only affects nodes without a color attribute. | |
id-field | Node object attribute name referring to unique node id (used in link objects source/target). | id |
val-field | Node object accessor function, attribute or a numeric constant for the node numeric value (affects sphere volume). | val |
name-field | Node object accessor function or attribute for name (shown in label). | name |
desc-field | Node object accessor function or attribute for description (shown under label). | name |
color-field | Node object accessor function or attribute for node color (affects sphere color). | color |
link-source-field | Link object attribute name referring to id of source node. | source |
link-target-field | Link object attribute name referring to id of target node. | target |
link-color-field | Link object accessor function or attribute for line color. | color |
force-engine | Which force-simulation engine to use (d3 or ngraph). | d3 |
warmup-ticks | How many times to tick the force simulation engine at ignition before starting to render. | 0 |
cooldown-ticks | How many times to tick the force simulation engine after rendering begins before stopping and freezing the engine. | Infinity |
cooldown-time | How much time (ms) to tick the force simulation engine after rendering begins before stopping and freezing the engine. | 15000 |