Skip to content

Commit

Permalink
ta
Browse files Browse the repository at this point in the history
  • Loading branch information
alixander committed Feb 4, 2025
1 parent 20d4165 commit 5b2f2eb
Show file tree
Hide file tree
Showing 40 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions d2renderers/d2svg/d2svg.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ func drawConnection(writer io.Writer, diagramHash string, connection d2target.Co
classes = append(classes, connection.Classes...)
classStr := fmt.Sprintf(` class="%s"`, strings.Join(classes, " "))

fmt.Fprintf(writer, `<g%s%s>`, opacityStyle, classStr)
fmt.Fprintf(writer, `<g%s%s>`, classStr, opacityStyle)
var markerStart string
if connection.SrcArrow != d2target.NoArrowhead {
id := arrowheadMarkerID(diagramHash, false, connection)
Expand Down Expand Up @@ -1032,7 +1032,7 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape
}
classes = append(classes, targetShape.Classes...)
classStr := fmt.Sprintf(` class="%s"`, strings.Join(classes, " "))
fmt.Fprintf(writer, `<g%s%s>`, opacityStyle, classStr)
fmt.Fprintf(writer, `<g%s%s>`, classStr, opacityStyle)
tl := geo.NewPoint(float64(targetShape.Pos.X), float64(targetShape.Pos.Y))
width := float64(targetShape.Width)
height := float64(targetShape.Height)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5b2f2eb

Please sign in to comment.