This pull request makes a few changes to enable narrowcast (i.e. individualized) plots in HubNet Web:
BrowserCompiler.fromNlogo can now take a compilation request containing extra plots to compile
BrowserCompiler now has a compilePlots method that can be used to compile only plot widgets (compiling them against the last cached compilation instance)
PlotManager can now dynamically add and remove plots from its internal state (:frowning_face:)
PlotManager can now lookup plots for a HubNet Web host, using the official name-munging scheme
A miscellaneous bugfix to plot.coffee's _withPen thrown in, just for good measure
This pull request makes a few changes to enable narrowcast (i.e. individualized) plots in HubNet Web:
BrowserCompiler.fromNlogo
can now take a compilation request containing extra plots to compileBrowserCompiler
now has acompilePlots
method that can be used to compile only plot widgets (compiling them against the last cached compilation instance)PlotManager
can now dynamically add and remove plots from its internal state (:frowning_face:)PlotManager
can now lookup plots for a HubNet Web host, using the official name-munging schemeplot.coffee
's_withPen
thrown in, just for good measure