Just abuse classes for grid linkage

This commit is contained in:
Ian Gulliver
2019-07-13 22:30:37 +00:00
parent 405b170c6a
commit a4630ba92a
5 changed files with 17 additions and 21 deletions

View File

@@ -269,6 +269,7 @@ class Layout {
if (this.graph_.label) {
steps.push({
type: 'graphLabel',
id: this.graph_.labelId,
min: [0, 0],
max: [this.size[0] - 1, 0],
label: this.graph_.label,