Lines Matching refs:diagram
145 var BaseTheme = function(diagram, options) { argument
146 this.init(diagram, options);
152 init: function(diagram, options) { argument
153 this.diagram = diagram;
177 var diagram = this.diagram;
179 var actors = diagram.actors;
180 var signals = diagram.signals;
182 diagram.width = 0; // min width
183 diagram.height = 0; // min height
186 if (diagram.title) {
188 var bb = this.textBBox(diagram.title, font);
190 title.message = diagram.title;
197 diagram.width += title.width;
198 diagram.height += title.height;
319 diagram.width = Math.max(actorsX, diagram.width);
322 diagram.width += 2 * DIAGRAM_MARGIN;
323 diagram.height += 2 * DIAGRAM_MARGIN + 2 * this.actorsHeight_ + this.signalsHeight_;
341 _.each(this.diagram.actors, function(a) {
364 _.each(this.diagram.signals, function(s) {