MCPcopy Create free account
hub / github.com/microsoft/SandDance / constructor

Method constructor

docs/app/js/sanddance-app.js:5150–5170  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

5148var _selection = require("../selection");
5149class Stack extends (0, _layout.Layout) {
5150 constructor(props){
5151 super(props);
5152 this.props = props;
5153 const p = this.prefix = `stack_${this.id}`;
5154 this.names = {
5155 cube: `${p}_cube`,
5156 globalDataName: `data_${p}_count`,
5157 globalExtent: `${p}_global_extent`,
5158 levelDataName: `data_${p}_level`,
5159 count: `${p}_count`,
5160 stack0: `${p}_stack0`,
5161 stack1: `${p}_stack1`,
5162 sequence: `data_${p}_sequence`,
5163 sides: `${p}_sides`,
5164 size: `${p}_size`,
5165 squared: `${p}_squared`,
5166 maxCount: `${p}_maxCount`,
5167 maxLevels: `${p}_maxLevels`,
5168 zScale: `${p}_zScale`
5169 };
5170 }
5171 build() {
5172 const { names , props } = this;
5173 const { globalScope , groupings , parentScope , sort } = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected