Function: default()
default(
sigma
,opts
?):object
On the graph, we store the 2D projection of the geographical lat/long.
Parameters
• sigma: Sigma
<Attributes
, Attributes
, Attributes
>
The sigma instance
• opts?
• opts.getNodeLatLng?
Function to retrieve lat/long values from a node's attributs (default is lat & lng)
• opts.mapOptions?: Omit
<MapOptions
, "center"
| "container"
| "zoom"
| "minPitch"
| "maxPitch"
>
Options that will be provided to map constructor.
Returns
object
clean()
clean: () =>
void
Returns
void
map
map:
Map$1
updateGraphCoordinates()
updateGraphCoordinates: (
graph
) =>void
Parameters
• graph: Graph
<Attributes
, Attributes
, Attributes
>
Returns
void