Skip to content

Commit

Permalink
d2ir: Review fixes #714
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Jan 28, 2023
1 parent f056700 commit 192cb10
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 267 deletions.
178 changes: 0 additions & 178 deletions d2graph/copy.go

This file was deleted.

86 changes: 0 additions & 86 deletions d2graph/copy_test.go

This file was deleted.

3 changes: 0 additions & 3 deletions d2graph/d2graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ type Scalar struct {
}

// TODO maybe rename to Shape
// reminder: When adding new fields remember to update copy.go
type Object struct {
Graph *Graph `json:"-"`
Parent *Object `json:"-"`
Expand Down Expand Up @@ -89,7 +88,6 @@ type Object struct {
ZIndex int `json:"zIndex"`
}

// reminder: When adding new fields remember to update copy.go
type Attributes struct {
Label Scalar `json:"label"`
Style Style `json:"style"`
Expand Down Expand Up @@ -131,7 +129,6 @@ func (r Reference) InEdge() bool {
return r.Key != r.MapKey.Key
}

// reminder: When adding new fields remember to update copy.go
type Style struct {
Opacity *Scalar `json:"opacity,omitempty"`
Stroke *Scalar `json:"stroke,omitempty"`
Expand Down

0 comments on commit 192cb10

Please sign in to comment.