arogi/hub-spoke

Name: hub-spoke

Owner: Arogi

Description: A little JavaScript doodad (ahem, function) that draws various hub-spoke and spider diagrams

Created: 2016-04-20 05:25:11.0

Updated: 2016-04-20 19:52:54.0

Pushed: 2016-05-10 01:32:09.0

Homepage: null

Size: 539

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

hub-spoke

A little JavaScript doodad (ahem, function) that prepares various hub-spoke and spider diagrams for display in Leaflet.

[x] spokeCreate – Straight-line spider diagrams
[ ] pathCreate – Road network hub-spoke diagrams

A screenshot created with this function. In this case, the hub-spoke diagrams were drawn twice. First as transluscent wide traces and then again with thin, opaque lines. Little circleMarkers were added at endpoints: Screenshot


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.