Open moebrowne opened 8 years ago
The js/visualise.js is doing too much all in one place, it needs refactoring into a couple of (maybe ES6/Typescript) classes:
js/visualise.js
renderAPs()
renderClients()
__construct(APData)
render()
renderPowerRing()
isActive()
shouldBeRendered()
__construct(ClientData)
renderAPLink(AP)
The
js/visualise.js
is doing too much all in one place, it needs refactoring into a couple of (maybe ES6/Typescript) classes:Renderer
renderAPs()
renderClients()
AP
__construct(APData)
render()
renderPowerRing()
isActive()
shouldBeRendered()
Client
__construct(ClientData)
render()
renderAPLink(AP)
isActive()
shouldBeRendered()
ChannelContention
render()