summaryrefslogtreecommitdiff
path: root/query/chart_topology_display.js
blob: a07e0538a6134274b9a5947751d476fa6357afa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function GrasChartTopologyDisplay(args, panel)
{
    //input checking

    //settings
    this.div = $('<div />');
    $(panel).append(this.div);
    this.title = "Topology Display";

    //fetch the topology image given the blocks
    var img = new Image();
    img.src = "/topology.dot.png?" + jQuery.param({blocks:args.block_ids}, true /*needed to parse data*/);
    this.div.append($(img));
}

GrasChartTopologyDisplay.prototype.update = function(point)
{
    var self = this;
}