jondot / graphene

Graphene is a realtime dashboard & graphing toolkit based on D3 and Backbone.
http://jondot.github.com/graphene
2.87k stars 232 forks source link

Access models from outside Graphene #77

Closed wndhydrnt closed 10 years ago

wndhydrnt commented 10 years ago

This change makes it possible to access the models of a dashboard created by Graphene.build().

I came across an issue similar to #51. Exposing the models makes it also possible to do things like changing the source attribute dynamically and then call Graphene.GraphiteModel.refresh() to refresh the data immediately.

jondot commented 10 years ago

Looks great, thanks! :+1: