Skip to main content

Module graph

Module graph 

Source
Expand description

Definitions for the graph.

Modulesยง

arrange

Structsยง

AddIntervalPair
Graph
The graph. Graph stores the node using an entity and the edge also using an entity entity in a DiGraphMap using [EntityHash].
GraphIntervalSpatialIndex
GraphIntervalSpatialIndexState ๐Ÿ”’
GraphIntervalSpatialSample
GraphPlugin
The graph plugin. Remember to register this plugin.
GraphSpatialIndex
GraphSpatialIndexState ๐Ÿ”’
IntervalSpatialIndexedEntity ๐Ÿ”’
Node
NodeCoor
The position of the node.
SpatialIndexedEntity ๐Ÿ”’

Constantsยง

EARTH_RADIUS_METERS ๐Ÿ”’
WEB_MERCATOR_MAX_LAT ๐Ÿ”’

Functionsยง

add_interval_pair ๐Ÿ”’
apply_graph_interval_spatial_index_task ๐Ÿ”’
apply_graph_spatial_index_task ๐Ÿ”’
check_stations_in_graph ๐Ÿ”’
debug_graph_set_diff ๐Ÿ”’
lon_lat_to_xy
mark_graph_interval_spatial_index_dirty ๐Ÿ”’
mark_graph_spatial_index_dirty ๐Ÿ”’
merge_station_by_name
start_graph_interval_spatial_index_rebuild ๐Ÿ”’
start_graph_spatial_index_rebuild ๐Ÿ”’
update_graph_on_interval_removal ๐Ÿ”’
update_graph_on_station_removal ๐Ÿ”’
xy_to_lon_lat