Graph attributs and methods
- Source:
Members
(static) graph.elts.circles
Graph circle (into nodes) (d3) elements
- Source:
(static) graph.elts.images
Graph images (into nodes) (d3) elements
- Source:
(static) graph.elts.labels
Graph texts (into nodes) (d3) elements
- Source:
(static) graph.elts.links
Graph links (d3) elements
- Source:
(static) graph.elts.nodes
Graph nodes (d3) elements
- Source:
(static) graph.elts.tip
Infotip (on hover links)
- Source:
(static) graph.height :number
Graph svg height
- Source:
Type:
(static) graph.params :obj
Parameters for graph : node gravity, appearance
- Default Value:
{"nodeSize":12,"nodeStrokeSize":2,"force":800,"distanceMax":400,"highlightColor":"red"}
- Source:
Type:
(static) graph.width :number
Graph svg with
- Source:
Type:
(static) graph.zoomParams
Graph zoom parameters
- Default Value:
- Source:
(static) links :array
All links attributes
- Source:
Type:
(static) nodeContainImage :bool
If the nodes must contain an image
- Source:
Type:
(static) nodes :array
All nodes attributes
- Source:
Type:
(static) pos :obj
Graph SVG position as the user view parameters
- Default Value:
- Source:
Type:
(static) selectedNodeId :obj
Id of the current selected node
- Source:
Type:
(static) svg :obj
Selected SVG as a d3 object
- Source:
Type:
Methods
(static) graph.init()
Graph initialisation
- Source: