diff --git a/d2compiler/compile.go b/d2compiler/compile.go index 2e570b589..0d2529eaf 100644 --- a/d2compiler/compile.go +++ b/d2compiler/compile.go @@ -327,7 +327,7 @@ func (c *compiler) compileReserved(attrs *d2graph.Attributes, f *d2ir.Field) { attrs.Link = &d2graph.Scalar{} attrs.Link.Value = scalar.ScalarString() attrs.Link.MapKey = f.LastPrimaryKey() - // TODO I think these all need the rank actually + // TODO I think all the attributes need the range actually attrs.Link.MapKey.Range = scalar.GetRange() case "direction": dirs := []string{"up", "down", "right", "left"}