Merge pull request #2428 from melsonic/issue-2409
feat: ability to add border-radius to d2 icons
|
|
@ -8,6 +8,7 @@
|
|||
- Render:
|
||||
- markdown, latex, and code can be used as object labels [#2204](https://github.com/terrastruct/d2/pull/2204)
|
||||
- `shape: c4-person` to render a person shape like what the C4 model prescribes [#2397](https://github.com/terrastruct/d2/pull/2397)
|
||||
- Icons: border-radius should work on icon [#2409](https://github.com/terrastruct/d2/issues/2409)
|
||||
- Diagram legends are implemented [#2416](https://github.com/terrastruct/d2/pull/2416)
|
||||
|
||||
#### Improvements 🧹
|
||||
|
|
|
|||
|
|
@ -389,7 +389,7 @@ func (c *compiler) compileField(obj *d2graph.Object, f *d2ir.Field) {
|
|||
c.errorf(f.LastRef().AST(), `"style" expected to be set to a map of key-values, or contain an additional keyword like "style.opacity: 0.4"`)
|
||||
return
|
||||
}
|
||||
c.compileStyle(&obj.Attributes, f.Map())
|
||||
c.compileStyle(&obj.Attributes.Style, f.Map())
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -581,6 +581,17 @@ func (c *compiler) compileReserved(attrs *d2graph.Attributes, f *d2ir.Field) {
|
|||
}
|
||||
attrs.Icon = iconURL
|
||||
c.compilePosition(attrs, f)
|
||||
if f.Map() != nil {
|
||||
for _, ff := range f.Map().Fields {
|
||||
if ff.Name.ScalarString() == "style" && ff.Name.IsUnquoted() {
|
||||
if ff.Map() == nil || len(ff.Map().Fields) == 0 {
|
||||
c.errorf(f.LastRef().AST(), `"style" expected to be set to a map of key-values, or contain an additional keyword like "style.opacity: 0.4"`)
|
||||
return
|
||||
}
|
||||
c.compileStyle(&attrs.IconStyle, ff.Map())
|
||||
}
|
||||
}
|
||||
}
|
||||
case "near":
|
||||
nearKey, err := d2parser.ParseKey(scalar.ScalarString())
|
||||
if err != nil {
|
||||
|
|
@ -741,13 +752,13 @@ func (c *compiler) compileReserved(attrs *d2graph.Attributes, f *d2ir.Field) {
|
|||
}
|
||||
}
|
||||
|
||||
func (c *compiler) compileStyle(attrs *d2graph.Attributes, m *d2ir.Map) {
|
||||
func (c *compiler) compileStyle(styles *d2graph.Style, m *d2ir.Map) {
|
||||
for _, f := range m.Fields {
|
||||
c.compileStyleField(attrs, f)
|
||||
c.compileStyleField(styles, f)
|
||||
}
|
||||
}
|
||||
|
||||
func (c *compiler) compileStyleField(attrs *d2graph.Attributes, f *d2ir.Field) {
|
||||
func (c *compiler) compileStyleField(styles *d2graph.Style, f *d2ir.Field) {
|
||||
if _, ok := d2ast.StyleKeywords[strings.ToLower(f.Name.ScalarString())]; !(ok && f.Name.IsUnquoted()) {
|
||||
c.errorf(f.LastRef().AST(), `invalid style keyword: "%s"`, f.Name.ScalarString())
|
||||
return
|
||||
|
|
@ -755,65 +766,57 @@ func (c *compiler) compileStyleField(attrs *d2graph.Attributes, f *d2ir.Field) {
|
|||
if f.Primary() == nil {
|
||||
return
|
||||
}
|
||||
compileStyleFieldInit(attrs, f)
|
||||
compileStyleFieldInit(styles, f)
|
||||
scalar := f.Primary().Value
|
||||
err := attrs.Style.Apply(f.Name.ScalarString(), scalar.ScalarString())
|
||||
err := styles.Apply(f.Name.ScalarString(), scalar.ScalarString())
|
||||
if err != nil {
|
||||
c.errorf(scalar, err.Error())
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
func compileStyleFieldInit(attrs *d2graph.Attributes, f *d2ir.Field) {
|
||||
func compileStyleFieldInit(styles *d2graph.Style, f *d2ir.Field) {
|
||||
switch f.Name.ScalarString() {
|
||||
case "opacity":
|
||||
attrs.Style.Opacity = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Opacity = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "stroke":
|
||||
attrs.Style.Stroke = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Stroke = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "fill":
|
||||
attrs.Style.Fill = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Fill = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "fill-pattern":
|
||||
attrs.Style.FillPattern = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.FillPattern = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "stroke-width":
|
||||
attrs.Style.StrokeWidth = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.StrokeWidth = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "stroke-dash":
|
||||
attrs.Style.StrokeDash = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.StrokeDash = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "border-radius":
|
||||
attrs.Style.BorderRadius = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.BorderRadius = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "shadow":
|
||||
attrs.Style.Shadow = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Shadow = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "3d":
|
||||
attrs.Style.ThreeDee = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.ThreeDee = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "multiple":
|
||||
attrs.Style.Multiple = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Multiple = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "font":
|
||||
attrs.Style.Font = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Font = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "font-size":
|
||||
attrs.Style.FontSize = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.FontSize = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "font-color":
|
||||
attrs.Style.FontColor = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.FontColor = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "animated":
|
||||
attrs.Style.Animated = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Animated = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "bold":
|
||||
attrs.Style.Bold = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Bold = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "italic":
|
||||
attrs.Style.Italic = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Italic = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "underline":
|
||||
attrs.Style.Underline = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Underline = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "filled":
|
||||
attrs.Style.Filled = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "width":
|
||||
attrs.WidthAttr = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "height":
|
||||
attrs.HeightAttr = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "top":
|
||||
attrs.Top = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "left":
|
||||
attrs.Left = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.Filled = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "double-border":
|
||||
attrs.Style.DoubleBorder = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.DoubleBorder = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
case "text-transform":
|
||||
attrs.Style.TextTransform = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
styles.TextTransform = &d2graph.Scalar{MapKey: f.LastPrimaryKey()}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -900,7 +903,7 @@ func (c *compiler) compileEdgeField(edge *d2graph.Edge, f *d2ir.Field) {
|
|||
if f.Map() == nil {
|
||||
return
|
||||
}
|
||||
c.compileStyle(&edge.Attributes, f.Map())
|
||||
c.compileStyle(&edge.Attributes.Style, f.Map())
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -939,7 +942,7 @@ func (c *compiler) compileArrowheads(edge *d2graph.Edge, f *d2ir.Field) {
|
|||
if f2.Map() == nil {
|
||||
continue
|
||||
}
|
||||
c.compileStyle(attrs, f2.Map())
|
||||
c.compileStyle(&attrs.Style, f2.Map())
|
||||
continue
|
||||
} else {
|
||||
c.errorf(f2.LastRef().AST(), `source-arrowhead/target-arrowhead map keys must be reserved keywords`)
|
||||
|
|
|
|||
|
|
@ -194,6 +194,9 @@ func applyStyles(shape *d2target.Shape, obj *d2graph.Object) {
|
|||
if obj.Style.DoubleBorder != nil {
|
||||
shape.DoubleBorder, _ = strconv.ParseBool(obj.Style.DoubleBorder.Value)
|
||||
}
|
||||
if obj.IconStyle.BorderRadius != nil {
|
||||
shape.IconBorderRadius, _ = strconv.Atoi(obj.IconStyle.BorderRadius.Value)
|
||||
}
|
||||
}
|
||||
|
||||
func toShape(obj *d2graph.Object, g *d2graph.Graph) d2target.Shape {
|
||||
|
|
@ -413,6 +416,10 @@ func toConnection(edge *d2graph.Edge, theme *d2themes.Theme) d2target.Connection
|
|||
}
|
||||
}
|
||||
|
||||
if edge.IconStyle.BorderRadius != nil {
|
||||
connection.IconBorderRadius, _ = strconv.ParseFloat(edge.IconStyle.BorderRadius.Value, 64)
|
||||
}
|
||||
|
||||
if edge.Style.Italic != nil {
|
||||
connection.Italic, _ = strconv.ParseBool(edge.Style.Italic.Value)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,10 +196,11 @@ type Attributes struct {
|
|||
Label Scalar `json:"label"`
|
||||
LabelDimensions d2target.TextDimensions `json:"labelDimensions"`
|
||||
|
||||
Style Style `json:"style"`
|
||||
Icon *url.URL `json:"icon,omitempty"`
|
||||
Tooltip *Scalar `json:"tooltip,omitempty"`
|
||||
Link *Scalar `json:"link,omitempty"`
|
||||
Style Style `json:"style"`
|
||||
Icon *url.URL `json:"icon,omitempty"`
|
||||
IconStyle Style `json:"iconStyle"`
|
||||
Tooltip *Scalar `json:"tooltip,omitempty"`
|
||||
Link *Scalar `json:"link,omitempty"`
|
||||
|
||||
WidthAttr *Scalar `json:"width,omitempty"`
|
||||
HeightAttr *Scalar `json:"height,omitempty"`
|
||||
|
|
|
|||
|
|
@ -853,12 +853,17 @@ func drawConnection(writer io.Writer, diagramHash string, connection d2target.Co
|
|||
if connection.Icon != nil {
|
||||
iconPos := connection.GetIconPosition()
|
||||
if iconPos != nil {
|
||||
fmt.Fprintf(writer, `<image href="%s" x="%f" y="%f" width="%d" height="%d" />`,
|
||||
connectionIconClipPath := ""
|
||||
if connection.IconBorderRadius != 0 {
|
||||
connectionIconClipPath = fmt.Sprintf(` clip-path="inset(0 round %fpx)"`, connection.IconBorderRadius)
|
||||
}
|
||||
fmt.Fprintf(writer, `<image href="%s" x="%f" y="%f" width="%d" height="%d"%s />`,
|
||||
html.EscapeString(connection.Icon.String()),
|
||||
iconPos.X,
|
||||
iconPos.Y,
|
||||
d2target.DEFAULT_ICON_SIZE,
|
||||
d2target.DEFAULT_ICON_SIZE,
|
||||
connectionIconClipPath,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
@ -1324,6 +1329,14 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape
|
|||
if targetShape.BorderRadius != 0 && (targetShape.Type == d2target.ShapeClass || targetShape.Type == d2target.ShapeSQLTable) {
|
||||
fmt.Fprint(writer, clipPathForBorderRadius(diagramHash, targetShape))
|
||||
}
|
||||
var iconClipPathID string
|
||||
if targetShape.IconBorderRadius != 0 && (targetShape.Type == d2target.ShapeImage) {
|
||||
// Set the icon's border-radius to half of it's smaller dimension in case it exceeds that
|
||||
// https://www.w3.org/Style/CSS/Tracker/issues/29?changelog
|
||||
targetShape.IconBorderRadius = min(targetShape.IconBorderRadius, min(targetShape.Width, targetShape.Height)/2)
|
||||
iconClipPathID = fmt.Sprintf("%v-%v-icon", diagramHash, svg.SVGID(targetShape.ID))
|
||||
fmt.Fprint(writer, applyIconBorderRadius(iconClipPathID, targetShape))
|
||||
}
|
||||
classes := []string{base64.URLEncoding.EncodeToString([]byte(svg.EscapeText(targetShape.ID)))}
|
||||
if targetShape.Animated {
|
||||
classes = append(classes, "animated-shape")
|
||||
|
|
@ -1435,6 +1448,9 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape
|
|||
el.Fill = fill
|
||||
el.Stroke = stroke
|
||||
el.Style = style
|
||||
if targetShape.IconBorderRadius != 0 {
|
||||
el.ClipPath = iconClipPathID
|
||||
}
|
||||
fmt.Fprint(writer, el.Render())
|
||||
|
||||
// TODO should standardize "" to rectangle
|
||||
|
|
@ -1627,12 +1643,17 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape
|
|||
|
||||
tl := iconPosition.GetPointOnBox(box, label.PADDING, float64(iconSize), float64(iconSize))
|
||||
|
||||
fmt.Fprintf(writer, `<image href="%s" x="%f" y="%f" width="%d" height="%d" />`,
|
||||
shapeIconClipPath := ""
|
||||
if targetShape.IconBorderRadius != 0 {
|
||||
shapeIconClipPath = fmt.Sprintf(` clip-path="inset(0 round %dpx)"`, targetShape.IconBorderRadius)
|
||||
}
|
||||
fmt.Fprintf(writer, `<image href="%s" x="%f" y="%f" width="%d" height="%d"%s />`,
|
||||
html.EscapeString(targetShape.Icon.String()),
|
||||
tl.X,
|
||||
tl.Y,
|
||||
iconSize,
|
||||
iconSize,
|
||||
shapeIconClipPath,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -1862,6 +1883,28 @@ func drawShape(writer, appendixWriter io.Writer, diagramHash string, targetShape
|
|||
return labelMask, nil
|
||||
}
|
||||
|
||||
func applyIconBorderRadius(clipPathID string, shape d2target.Shape) string {
|
||||
box := geo.NewBox(
|
||||
geo.NewPoint(float64(shape.Pos.X), float64(shape.Pos.Y)),
|
||||
float64(shape.Width),
|
||||
float64(shape.Height),
|
||||
)
|
||||
topX, topY := box.TopLeft.X+box.Width, box.TopLeft.Y
|
||||
|
||||
out := fmt.Sprintf(`<clipPath id="%s">`, clipPathID)
|
||||
out += fmt.Sprintf(`<path d="M %f %f L %f %f S %f %f %f %f `, box.TopLeft.X, box.TopLeft.Y+float64(shape.IconBorderRadius), box.TopLeft.X, box.TopLeft.Y+float64(shape.IconBorderRadius), box.TopLeft.X, box.TopLeft.Y, box.TopLeft.X+float64(shape.IconBorderRadius), box.TopLeft.Y)
|
||||
out += fmt.Sprintf(`L %f %f L %f %f `, box.TopLeft.X+box.Width-float64(shape.IconBorderRadius), box.TopLeft.Y, topX-float64(shape.IconBorderRadius), topY)
|
||||
|
||||
out += fmt.Sprintf(`S %f %f %f %f `, topX, topY, topX, topY+float64(shape.IconBorderRadius))
|
||||
out += fmt.Sprintf(`L %f %f `, topX, topY+box.Height-float64(shape.IconBorderRadius))
|
||||
out += fmt.Sprintf(`S %f % f %f %f `, topX, topY+box.Height, topX-float64(shape.IconBorderRadius), topY+box.Height)
|
||||
out += fmt.Sprintf(`L %f %f `, box.TopLeft.X+float64(shape.IconBorderRadius), box.TopLeft.Y+box.Height)
|
||||
out += fmt.Sprintf(`S %f %f %f %f`, box.TopLeft.X, box.TopLeft.Y+box.Height, box.TopLeft.X, box.TopLeft.Y+box.Height-float64(shape.IconBorderRadius))
|
||||
out += fmt.Sprintf(`L %f %f`, box.TopLeft.X, box.TopLeft.Y+float64(shape.IconBorderRadius))
|
||||
out += fmt.Sprintf(`Z %f %f" `, box.TopLeft.X, box.TopLeft.Y)
|
||||
return out + `fill="none" /> </clipPath>`
|
||||
}
|
||||
|
||||
func addAppendixItems(writer io.Writer, diagramHash string, targetShape d2target.Shape, s shape.Shape) {
|
||||
var p1, p2 *geo.Point
|
||||
if targetShape.Tooltip != "" || targetShape.Link != "" {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ func clipPathForBorderRadius(diagramHash string, shape d2target.Shape) string {
|
|||
)
|
||||
topX, topY := box.TopLeft.X+box.Width, box.TopLeft.Y
|
||||
|
||||
out := fmt.Sprintf(`<clipPath id="%v-%v">`, diagramHash, shape.ID)
|
||||
out := fmt.Sprintf(`<clipPath id="%v-%v">`, diagramHash, svg.SVGID(shape.ID))
|
||||
out += fmt.Sprintf(`<path d="M %f %f L %f %f S %f %f %f %f `, box.TopLeft.X, box.TopLeft.Y+float64(shape.BorderRadius), box.TopLeft.X, box.TopLeft.Y+float64(shape.BorderRadius), box.TopLeft.X, box.TopLeft.Y, box.TopLeft.X+float64(shape.BorderRadius), box.TopLeft.Y)
|
||||
out += fmt.Sprintf(`L %f %f L %f %f `, box.TopLeft.X+box.Width-float64(shape.BorderRadius), box.TopLeft.Y, topX-float64(shape.BorderRadius), topY)
|
||||
|
||||
|
|
|
|||
|
|
@ -503,11 +503,12 @@ type Shape struct {
|
|||
Multiple bool `json:"multiple"`
|
||||
DoubleBorder bool `json:"double-border"`
|
||||
|
||||
Tooltip string `json:"tooltip"`
|
||||
Link string `json:"link"`
|
||||
PrettyLink string `json:"prettyLink,omitempty"`
|
||||
Icon *url.URL `json:"icon"`
|
||||
IconPosition string `json:"iconPosition"`
|
||||
Tooltip string `json:"tooltip"`
|
||||
Link string `json:"link"`
|
||||
PrettyLink string `json:"prettyLink,omitempty"`
|
||||
Icon *url.URL `json:"icon"`
|
||||
IconBorderRadius int `json:"iconBorderRadius,omitempty"`
|
||||
IconPosition string `json:"iconPosition"`
|
||||
|
||||
// Whether the shape should allow shapes behind it to bleed through
|
||||
// Currently just used for sequence diagram groups
|
||||
|
|
@ -634,10 +635,11 @@ type Connection struct {
|
|||
Route []*geo.Point `json:"route"`
|
||||
IsCurve bool `json:"isCurve,omitempty"`
|
||||
|
||||
Animated bool `json:"animated"`
|
||||
Tooltip string `json:"tooltip"`
|
||||
Icon *url.URL `json:"icon"`
|
||||
IconPosition string `json:"iconPosition,omitempty"`
|
||||
Animated bool `json:"animated"`
|
||||
Tooltip string `json:"tooltip"`
|
||||
Icon *url.URL `json:"icon"`
|
||||
IconPosition string `json:"iconPosition,omitempty"`
|
||||
IconBorderRadius float64 `json:"iconBorderRadius,omitempty"`
|
||||
|
||||
ZIndex int `json:"zIndex"`
|
||||
}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
168
e2etests/testdata/txtar/connection-icons/dagre/board.exp.json
generated
vendored
|
|
@ -15,7 +15,7 @@
|
|||
"id": "a",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"x": 29,
|
||||
"y": 0
|
||||
},
|
||||
"width": 53,
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
"id": "b",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 186,
|
||||
"x": 275,
|
||||
"y": 0
|
||||
},
|
||||
"width": 53,
|
||||
|
|
@ -99,7 +99,7 @@
|
|||
"id": "c",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 339,
|
||||
"x": 459,
|
||||
"y": 0
|
||||
},
|
||||
"width": 53,
|
||||
|
|
@ -136,6 +136,90 @@
|
|||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "producer",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"y": 126
|
||||
},
|
||||
"width": 110,
|
||||
"height": 66,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "producer",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 65,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "consumer",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 243,
|
||||
"y": 126
|
||||
},
|
||||
"width": 116,
|
||||
"height": 66,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "consumer",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 71,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
|
|
@ -165,19 +249,19 @@
|
|||
"link": "",
|
||||
"route": [
|
||||
{
|
||||
"x": 52.5,
|
||||
"x": 82.5,
|
||||
"y": 33
|
||||
},
|
||||
{
|
||||
"x": 106.0999984741211,
|
||||
"x": 157.6999969482422,
|
||||
"y": 33
|
||||
},
|
||||
{
|
||||
"x": 132.89999389648438,
|
||||
"x": 196.10000610351562,
|
||||
"y": 33
|
||||
},
|
||||
{
|
||||
"x": 186.5,
|
||||
"x": 274.5,
|
||||
"y": 33
|
||||
}
|
||||
],
|
||||
|
|
@ -226,19 +310,19 @@
|
|||
"link": "",
|
||||
"route": [
|
||||
{
|
||||
"x": 239,
|
||||
"x": 328.5,
|
||||
"y": 33
|
||||
},
|
||||
{
|
||||
"x": 279,
|
||||
"x": 392.8999938964844,
|
||||
"y": 33
|
||||
},
|
||||
{
|
||||
"x": 299,
|
||||
"x": 419,
|
||||
"y": 33
|
||||
},
|
||||
{
|
||||
"x": 339,
|
||||
"x": 459,
|
||||
"y": 33
|
||||
}
|
||||
],
|
||||
|
|
@ -260,6 +344,68 @@
|
|||
},
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0
|
||||
},
|
||||
{
|
||||
"id": "(producer -> consumer)[0]",
|
||||
"src": "producer",
|
||||
"srcArrow": "none",
|
||||
"dst": "consumer",
|
||||
"dstArrow": "triangle",
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"stroke": "B1",
|
||||
"borderRadius": 10,
|
||||
"label": "",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N2",
|
||||
"italic": true,
|
||||
"bold": false,
|
||||
"underline": false,
|
||||
"labelWidth": 0,
|
||||
"labelHeight": 0,
|
||||
"labelPosition": "",
|
||||
"labelPercentage": 0,
|
||||
"link": "",
|
||||
"route": [
|
||||
{
|
||||
"x": 109.5,
|
||||
"y": 159
|
||||
},
|
||||
{
|
||||
"x": 163.10000610351562,
|
||||
"y": 159
|
||||
},
|
||||
{
|
||||
"x": 189.89999389648438,
|
||||
"y": 159
|
||||
},
|
||||
{
|
||||
"x": 243.5,
|
||||
"y": 159
|
||||
}
|
||||
],
|
||||
"isCurve": true,
|
||||
"animated": false,
|
||||
"tooltip": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Application Integration/Amazon-Simple-Queue-Service-SQS.svg",
|
||||
"RawPath": "/aws%2FApplication%20Integration%2FAmazon-Simple-Queue-Service-SQS.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"iconBorderRadius": 20,
|
||||
"zIndex": 0
|
||||
}
|
||||
],
|
||||
"root": {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 17 KiB |
151
e2etests/testdata/txtar/connection-icons/elk/board.exp.json
generated
vendored
|
|
@ -15,7 +15,7 @@
|
|||
"id": "a",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 12,
|
||||
"x": 69,
|
||||
"y": 12
|
||||
},
|
||||
"width": 53,
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
"id": "b",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 238,
|
||||
"x": 378,
|
||||
"y": 12
|
||||
},
|
||||
"width": 53,
|
||||
|
|
@ -99,7 +99,7 @@
|
|||
"id": "c",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 361,
|
||||
"x": 501,
|
||||
"y": 12
|
||||
},
|
||||
"width": 53,
|
||||
|
|
@ -136,6 +136,90 @@
|
|||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "producer",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 12,
|
||||
"y": 98
|
||||
},
|
||||
"width": 110,
|
||||
"height": 66,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "producer",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 65,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "consumer",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 192,
|
||||
"y": 98
|
||||
},
|
||||
"width": 116,
|
||||
"height": 66,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "consumer",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 71,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
|
|
@ -165,11 +249,11 @@
|
|||
"link": "",
|
||||
"route": [
|
||||
{
|
||||
"x": 65,
|
||||
"x": 122,
|
||||
"y": 45
|
||||
},
|
||||
{
|
||||
"x": 238,
|
||||
"x": 378,
|
||||
"y": 45
|
||||
}
|
||||
],
|
||||
|
|
@ -217,11 +301,11 @@
|
|||
"link": "",
|
||||
"route": [
|
||||
{
|
||||
"x": 291,
|
||||
"x": 431,
|
||||
"y": 45
|
||||
},
|
||||
{
|
||||
"x": 361,
|
||||
"x": 501,
|
||||
"y": 45
|
||||
}
|
||||
],
|
||||
|
|
@ -242,6 +326,59 @@
|
|||
},
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0
|
||||
},
|
||||
{
|
||||
"id": "(producer -> consumer)[0]",
|
||||
"src": "producer",
|
||||
"srcArrow": "none",
|
||||
"dst": "consumer",
|
||||
"dstArrow": "triangle",
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"stroke": "B1",
|
||||
"borderRadius": 10,
|
||||
"label": "",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N2",
|
||||
"italic": true,
|
||||
"bold": false,
|
||||
"underline": false,
|
||||
"labelWidth": 0,
|
||||
"labelHeight": 0,
|
||||
"labelPosition": "",
|
||||
"labelPercentage": 0,
|
||||
"link": "",
|
||||
"route": [
|
||||
{
|
||||
"x": 122,
|
||||
"y": 131
|
||||
},
|
||||
{
|
||||
"x": 192,
|
||||
"y": 131
|
||||
}
|
||||
],
|
||||
"animated": false,
|
||||
"tooltip": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Application Integration/Amazon-Simple-Queue-Service-SQS.svg",
|
||||
"RawPath": "/aws%2FApplication%20Integration%2FAmazon-Simple-Queue-Service-SQS.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"iconBorderRadius": 20,
|
||||
"zIndex": 0
|
||||
}
|
||||
],
|
||||
"root": {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 17 KiB |
276
e2etests/testdata/txtar/icon-style/dagre/board.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,276 @@
|
|||
{
|
||||
"name": "",
|
||||
"config": {
|
||||
"sketch": false,
|
||||
"themeID": 0,
|
||||
"darkThemeID": null,
|
||||
"pad": null,
|
||||
"center": null,
|
||||
"layoutEngine": null
|
||||
},
|
||||
"isFolderOnly": false,
|
||||
"fontFamily": "SourceSansPro",
|
||||
"shapes": [
|
||||
{
|
||||
"id": "AWS Firewall Manager",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"y": 18
|
||||
},
|
||||
"width": 230,
|
||||
"height": 92,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Security, Identity, & Compliance/AWS-Firewall-Manager.svg",
|
||||
"RawPath": "/aws%2FSecurity%2C%20Identity%2C%20&%20Compliance%2FAWS-Firewall-Manager.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconBorderRadius": 5,
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "AWS Firewall Manager",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 159,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_TOP_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "lambda",
|
||||
"type": "image",
|
||||
"pos": {
|
||||
"x": 290,
|
||||
"y": 0
|
||||
},
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "N7",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Compute/AWS-Lambda.svg",
|
||||
"RawPath": "/aws%2FCompute%2FAWS-Lambda.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconBorderRadius": 20,
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "lambda",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 53,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "AWS Cloud",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 478,
|
||||
"y": 18
|
||||
},
|
||||
"width": 148,
|
||||
"height": 92,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/_Group Icons/AWS-Cloud_light-bg.svg",
|
||||
"RawPath": "/aws%2F_Group%20Icons%2FAWS-Cloud_light-bg.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "AWS Cloud",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 77,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_TOP_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "Mesh",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 686,
|
||||
"y": 18
|
||||
},
|
||||
"width": 107,
|
||||
"height": 92,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Networking & Content Delivery/AWS-App-Mesh.svg",
|
||||
"RawPath": "/aws%2FNetworking%20&%20Content%20Delivery%2FAWS-App-Mesh.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconBorderRadius": 999,
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "Mesh",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 36,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_TOP_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"connections": [],
|
||||
"root": {
|
||||
"id": "",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"opacity": 0,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 0,
|
||||
"borderRadius": 0,
|
||||
"fill": "N7",
|
||||
"stroke": "",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "",
|
||||
"fontSize": 0,
|
||||
"fontFamily": "",
|
||||
"language": "",
|
||||
"color": "",
|
||||
"italic": false,
|
||||
"bold": false,
|
||||
"underline": false,
|
||||
"labelWidth": 0,
|
||||
"labelHeight": 0,
|
||||
"zIndex": 0,
|
||||
"level": 0
|
||||
}
|
||||
}
|
||||
98
e2etests/testdata/txtar/icon-style/dagre/sketch.exp.svg
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-d2-version="v0.6.9-HEAD" preserveAspectRatio="xMinYMin meet" viewBox="0 0 795 155"><svg class="d2-3086272186 d2-svg" width="795" height="155" viewBox="-1 -1 795 155"><rect x="-1.000000" y="-1.000000" width="795.000000" height="155.000000" rx="0.000000" fill="#FFFFFF" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[
|
||||
.d2-3086272186 .text-bold {
|
||||
font-family: "d2-3086272186-font-bold";
|
||||
}
|
||||
@font-face {
|
||||
font-family: d2-3086272186-font-bold;
|
||||
src: url("data:application/font-woff;base64,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");
|
||||
}]]></style><style type="text/css"><![CDATA[.shape {
|
||||
shape-rendering: geometricPrecision;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.connection {
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.blend {
|
||||
mix-blend-mode: multiply;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.d2-3086272186 .fill-N1{fill:#0A0F25;}
|
||||
.d2-3086272186 .fill-N2{fill:#676C7E;}
|
||||
.d2-3086272186 .fill-N3{fill:#9499AB;}
|
||||
.d2-3086272186 .fill-N4{fill:#CFD2DD;}
|
||||
.d2-3086272186 .fill-N5{fill:#DEE1EB;}
|
||||
.d2-3086272186 .fill-N6{fill:#EEF1F8;}
|
||||
.d2-3086272186 .fill-N7{fill:#FFFFFF;}
|
||||
.d2-3086272186 .fill-B1{fill:#0D32B2;}
|
||||
.d2-3086272186 .fill-B2{fill:#0D32B2;}
|
||||
.d2-3086272186 .fill-B3{fill:#E3E9FD;}
|
||||
.d2-3086272186 .fill-B4{fill:#E3E9FD;}
|
||||
.d2-3086272186 .fill-B5{fill:#EDF0FD;}
|
||||
.d2-3086272186 .fill-B6{fill:#F7F8FE;}
|
||||
.d2-3086272186 .fill-AA2{fill:#4A6FF3;}
|
||||
.d2-3086272186 .fill-AA4{fill:#EDF0FD;}
|
||||
.d2-3086272186 .fill-AA5{fill:#F7F8FE;}
|
||||
.d2-3086272186 .fill-AB4{fill:#EDF0FD;}
|
||||
.d2-3086272186 .fill-AB5{fill:#F7F8FE;}
|
||||
.d2-3086272186 .stroke-N1{stroke:#0A0F25;}
|
||||
.d2-3086272186 .stroke-N2{stroke:#676C7E;}
|
||||
.d2-3086272186 .stroke-N3{stroke:#9499AB;}
|
||||
.d2-3086272186 .stroke-N4{stroke:#CFD2DD;}
|
||||
.d2-3086272186 .stroke-N5{stroke:#DEE1EB;}
|
||||
.d2-3086272186 .stroke-N6{stroke:#EEF1F8;}
|
||||
.d2-3086272186 .stroke-N7{stroke:#FFFFFF;}
|
||||
.d2-3086272186 .stroke-B1{stroke:#0D32B2;}
|
||||
.d2-3086272186 .stroke-B2{stroke:#0D32B2;}
|
||||
.d2-3086272186 .stroke-B3{stroke:#E3E9FD;}
|
||||
.d2-3086272186 .stroke-B4{stroke:#E3E9FD;}
|
||||
.d2-3086272186 .stroke-B5{stroke:#EDF0FD;}
|
||||
.d2-3086272186 .stroke-B6{stroke:#F7F8FE;}
|
||||
.d2-3086272186 .stroke-AA2{stroke:#4A6FF3;}
|
||||
.d2-3086272186 .stroke-AA4{stroke:#EDF0FD;}
|
||||
.d2-3086272186 .stroke-AA5{stroke:#F7F8FE;}
|
||||
.d2-3086272186 .stroke-AB4{stroke:#EDF0FD;}
|
||||
.d2-3086272186 .stroke-AB5{stroke:#F7F8FE;}
|
||||
.d2-3086272186 .background-color-N1{background-color:#0A0F25;}
|
||||
.d2-3086272186 .background-color-N2{background-color:#676C7E;}
|
||||
.d2-3086272186 .background-color-N3{background-color:#9499AB;}
|
||||
.d2-3086272186 .background-color-N4{background-color:#CFD2DD;}
|
||||
.d2-3086272186 .background-color-N5{background-color:#DEE1EB;}
|
||||
.d2-3086272186 .background-color-N6{background-color:#EEF1F8;}
|
||||
.d2-3086272186 .background-color-N7{background-color:#FFFFFF;}
|
||||
.d2-3086272186 .background-color-B1{background-color:#0D32B2;}
|
||||
.d2-3086272186 .background-color-B2{background-color:#0D32B2;}
|
||||
.d2-3086272186 .background-color-B3{background-color:#E3E9FD;}
|
||||
.d2-3086272186 .background-color-B4{background-color:#E3E9FD;}
|
||||
.d2-3086272186 .background-color-B5{background-color:#EDF0FD;}
|
||||
.d2-3086272186 .background-color-B6{background-color:#F7F8FE;}
|
||||
.d2-3086272186 .background-color-AA2{background-color:#4A6FF3;}
|
||||
.d2-3086272186 .background-color-AA4{background-color:#EDF0FD;}
|
||||
.d2-3086272186 .background-color-AA5{background-color:#F7F8FE;}
|
||||
.d2-3086272186 .background-color-AB4{background-color:#EDF0FD;}
|
||||
.d2-3086272186 .background-color-AB5{background-color:#F7F8FE;}
|
||||
.d2-3086272186 .color-N1{color:#0A0F25;}
|
||||
.d2-3086272186 .color-N2{color:#676C7E;}
|
||||
.d2-3086272186 .color-N3{color:#9499AB;}
|
||||
.d2-3086272186 .color-N4{color:#CFD2DD;}
|
||||
.d2-3086272186 .color-N5{color:#DEE1EB;}
|
||||
.d2-3086272186 .color-N6{color:#EEF1F8;}
|
||||
.d2-3086272186 .color-N7{color:#FFFFFF;}
|
||||
.d2-3086272186 .color-B1{color:#0D32B2;}
|
||||
.d2-3086272186 .color-B2{color:#0D32B2;}
|
||||
.d2-3086272186 .color-B3{color:#E3E9FD;}
|
||||
.d2-3086272186 .color-B4{color:#E3E9FD;}
|
||||
.d2-3086272186 .color-B5{color:#EDF0FD;}
|
||||
.d2-3086272186 .color-B6{color:#F7F8FE;}
|
||||
.d2-3086272186 .color-AA2{color:#4A6FF3;}
|
||||
.d2-3086272186 .color-AA4{color:#EDF0FD;}
|
||||
.d2-3086272186 .color-AA5{color:#F7F8FE;}
|
||||
.d2-3086272186 .color-AB4{color:#EDF0FD;}
|
||||
.d2-3086272186 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker-d2-3086272186);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker-d2-3086272186);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark-d2-3086272186);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker-d2-3086272186);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark-d2-3086272186);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal-d2-3086272186);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal-d2-3086272186);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright-d2-3086272186);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]></style><g class="QVdTIEZpcmV3YWxsIE1hbmFnZXI="><g class="shape" ><rect x="0.000000" y="18.000000" width="230.000000" height="92.000000" stroke="#0D32B2" fill="#F7F8FE" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><image href="https://icons.terrastruct.com/aws%2FSecurity%2C%20Identity%2C%20&%20Compliance%2FAWS-Firewall-Manager.svg" x="92.000000" y="41.000000" width="46" height="46" clip-path="inset(0 round 5px)" /><text x="115.000000" y="39.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">AWS Firewall Manager</text></g><clipPath id="d2-3086272186-NRQW2YTEME-icon"><path d="M 290.000000 20.000000 L 290.000000 20.000000 S 290.000000 0.000000 310.000000 0.000000 L 398.000000 0.000000 L 398.000000 0.000000 S 418.000000 0.000000 418.000000 20.000000 L 418.000000 108.000000 S 418.000000 128.000000 398.000000 128.000000 L 310.000000 128.000000 S 290.000000 128.000000 290.000000 108.000000L 290.000000 20.000000Z 290.000000 0.000000" fill="none" /> </clipPath><g class="bGFtYmRh"><g class="shape" ><image href="https://icons.terrastruct.com/aws%2FCompute%2FAWS-Lambda.svg" x="290.000000" y="0.000000" width="128.000000" height="128.000000" stroke="#0D32B2" fill="#FFFFFF" class=" stroke-B1 fill-N7" style="stroke-width:2;" clip-path="url(#d2-3086272186-NRQW2YTEME-icon)" /></g><text x="354.000000" y="149.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">lambda</text></g><g class="QVdTIENsb3Vk"><g class="shape" ><rect x="478.000000" y="18.000000" width="148.000000" height="92.000000" stroke="#0D32B2" fill="#F7F8FE" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><image href="https://icons.terrastruct.com/aws%2F_Group%20Icons%2FAWS-Cloud_light-bg.svg" x="529.000000" y="41.000000" width="46" height="46" /><text x="552.000000" y="39.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">AWS Cloud</text></g><g class="TWVzaA=="><g class="shape" ><rect x="686.000000" y="18.000000" width="107.000000" height="92.000000" stroke="#0D32B2" fill="#F7F8FE" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><image href="https://icons.terrastruct.com/aws%2FNetworking%20&%20Content%20Delivery%2FAWS-App-Mesh.svg" x="716.500000" y="41.000000" width="46" height="46" clip-path="inset(0 round 999px)" /><text x="739.500000" y="39.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">Mesh</text></g><mask id="d2-3086272186" maskUnits="userSpaceOnUse" x="-1" y="-1" width="795" height="155">
|
||||
<rect x="-1" y="-1" width="795" height="155" fill="white"></rect>
|
||||
<rect x="33.500000" y="23.000000" width="163" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
<rect x="325.500000" y="133.000000" width="57" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
<rect x="511.500000" y="23.000000" width="81" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
<rect x="719.500000" y="23.000000" width="40" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
</mask></svg></svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
276
e2etests/testdata/txtar/icon-style/elk/board.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,276 @@
|
|||
{
|
||||
"name": "",
|
||||
"config": {
|
||||
"sketch": false,
|
||||
"themeID": 0,
|
||||
"darkThemeID": null,
|
||||
"pad": null,
|
||||
"center": null,
|
||||
"layoutEngine": null
|
||||
},
|
||||
"isFolderOnly": false,
|
||||
"fontFamily": "SourceSansPro",
|
||||
"shapes": [
|
||||
{
|
||||
"id": "AWS Firewall Manager",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 12,
|
||||
"y": 30
|
||||
},
|
||||
"width": 230,
|
||||
"height": 118,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Security, Identity, & Compliance/AWS-Firewall-Manager.svg",
|
||||
"RawPath": "/aws%2FSecurity%2C%20Identity%2C%20&%20Compliance%2FAWS-Firewall-Manager.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconBorderRadius": 5,
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "AWS Firewall Manager",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 159,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_TOP_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "lambda",
|
||||
"type": "image",
|
||||
"pos": {
|
||||
"x": 262,
|
||||
"y": 12
|
||||
},
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "N7",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Compute/AWS-Lambda.svg",
|
||||
"RawPath": "/aws%2FCompute%2FAWS-Lambda.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconBorderRadius": 20,
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "lambda",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 53,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "AWS Cloud",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 410,
|
||||
"y": 30
|
||||
},
|
||||
"width": 148,
|
||||
"height": 118,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/_Group Icons/AWS-Cloud_light-bg.svg",
|
||||
"RawPath": "/aws%2F_Group%20Icons%2FAWS-Cloud_light-bg.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "AWS Cloud",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 77,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_TOP_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"id": "Mesh",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 578,
|
||||
"y": 30
|
||||
},
|
||||
"width": 107,
|
||||
"height": 118,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "B6",
|
||||
"stroke": "B1",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": {
|
||||
"Scheme": "https",
|
||||
"Opaque": "",
|
||||
"User": null,
|
||||
"Host": "icons.terrastruct.com",
|
||||
"Path": "/aws/Networking & Content Delivery/AWS-App-Mesh.svg",
|
||||
"RawPath": "/aws%2FNetworking%20&%20Content%20Delivery%2FAWS-App-Mesh.svg",
|
||||
"OmitHost": false,
|
||||
"ForceQuery": false,
|
||||
"RawQuery": "",
|
||||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconBorderRadius": 999,
|
||||
"iconPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "Mesh",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "N1",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 36,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_TOP_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"connections": [],
|
||||
"root": {
|
||||
"id": "",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"width": 0,
|
||||
"height": 0,
|
||||
"opacity": 0,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 0,
|
||||
"borderRadius": 0,
|
||||
"fill": "N7",
|
||||
"stroke": "",
|
||||
"animated": false,
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "",
|
||||
"fontSize": 0,
|
||||
"fontFamily": "",
|
||||
"language": "",
|
||||
"color": "",
|
||||
"italic": false,
|
||||
"bold": false,
|
||||
"underline": false,
|
||||
"labelWidth": 0,
|
||||
"labelHeight": 0,
|
||||
"zIndex": 0,
|
||||
"level": 0
|
||||
}
|
||||
}
|
||||
98
e2etests/testdata/txtar/icon-style/elk/sketch.exp.svg
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-d2-version="v0.6.9-HEAD" preserveAspectRatio="xMinYMin meet" viewBox="0 0 675 155"><svg class="d2-2243286372 d2-svg" width="675" height="155" viewBox="11 11 675 155"><rect x="11.000000" y="11.000000" width="675.000000" height="155.000000" rx="0.000000" fill="#FFFFFF" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[
|
||||
.d2-2243286372 .text-bold {
|
||||
font-family: "d2-2243286372-font-bold";
|
||||
}
|
||||
@font-face {
|
||||
font-family: d2-2243286372-font-bold;
|
||||
src: url("data:application/font-woff;base64,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");
|
||||
}]]></style><style type="text/css"><![CDATA[.shape {
|
||||
shape-rendering: geometricPrecision;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.connection {
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.blend {
|
||||
mix-blend-mode: multiply;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.d2-2243286372 .fill-N1{fill:#0A0F25;}
|
||||
.d2-2243286372 .fill-N2{fill:#676C7E;}
|
||||
.d2-2243286372 .fill-N3{fill:#9499AB;}
|
||||
.d2-2243286372 .fill-N4{fill:#CFD2DD;}
|
||||
.d2-2243286372 .fill-N5{fill:#DEE1EB;}
|
||||
.d2-2243286372 .fill-N6{fill:#EEF1F8;}
|
||||
.d2-2243286372 .fill-N7{fill:#FFFFFF;}
|
||||
.d2-2243286372 .fill-B1{fill:#0D32B2;}
|
||||
.d2-2243286372 .fill-B2{fill:#0D32B2;}
|
||||
.d2-2243286372 .fill-B3{fill:#E3E9FD;}
|
||||
.d2-2243286372 .fill-B4{fill:#E3E9FD;}
|
||||
.d2-2243286372 .fill-B5{fill:#EDF0FD;}
|
||||
.d2-2243286372 .fill-B6{fill:#F7F8FE;}
|
||||
.d2-2243286372 .fill-AA2{fill:#4A6FF3;}
|
||||
.d2-2243286372 .fill-AA4{fill:#EDF0FD;}
|
||||
.d2-2243286372 .fill-AA5{fill:#F7F8FE;}
|
||||
.d2-2243286372 .fill-AB4{fill:#EDF0FD;}
|
||||
.d2-2243286372 .fill-AB5{fill:#F7F8FE;}
|
||||
.d2-2243286372 .stroke-N1{stroke:#0A0F25;}
|
||||
.d2-2243286372 .stroke-N2{stroke:#676C7E;}
|
||||
.d2-2243286372 .stroke-N3{stroke:#9499AB;}
|
||||
.d2-2243286372 .stroke-N4{stroke:#CFD2DD;}
|
||||
.d2-2243286372 .stroke-N5{stroke:#DEE1EB;}
|
||||
.d2-2243286372 .stroke-N6{stroke:#EEF1F8;}
|
||||
.d2-2243286372 .stroke-N7{stroke:#FFFFFF;}
|
||||
.d2-2243286372 .stroke-B1{stroke:#0D32B2;}
|
||||
.d2-2243286372 .stroke-B2{stroke:#0D32B2;}
|
||||
.d2-2243286372 .stroke-B3{stroke:#E3E9FD;}
|
||||
.d2-2243286372 .stroke-B4{stroke:#E3E9FD;}
|
||||
.d2-2243286372 .stroke-B5{stroke:#EDF0FD;}
|
||||
.d2-2243286372 .stroke-B6{stroke:#F7F8FE;}
|
||||
.d2-2243286372 .stroke-AA2{stroke:#4A6FF3;}
|
||||
.d2-2243286372 .stroke-AA4{stroke:#EDF0FD;}
|
||||
.d2-2243286372 .stroke-AA5{stroke:#F7F8FE;}
|
||||
.d2-2243286372 .stroke-AB4{stroke:#EDF0FD;}
|
||||
.d2-2243286372 .stroke-AB5{stroke:#F7F8FE;}
|
||||
.d2-2243286372 .background-color-N1{background-color:#0A0F25;}
|
||||
.d2-2243286372 .background-color-N2{background-color:#676C7E;}
|
||||
.d2-2243286372 .background-color-N3{background-color:#9499AB;}
|
||||
.d2-2243286372 .background-color-N4{background-color:#CFD2DD;}
|
||||
.d2-2243286372 .background-color-N5{background-color:#DEE1EB;}
|
||||
.d2-2243286372 .background-color-N6{background-color:#EEF1F8;}
|
||||
.d2-2243286372 .background-color-N7{background-color:#FFFFFF;}
|
||||
.d2-2243286372 .background-color-B1{background-color:#0D32B2;}
|
||||
.d2-2243286372 .background-color-B2{background-color:#0D32B2;}
|
||||
.d2-2243286372 .background-color-B3{background-color:#E3E9FD;}
|
||||
.d2-2243286372 .background-color-B4{background-color:#E3E9FD;}
|
||||
.d2-2243286372 .background-color-B5{background-color:#EDF0FD;}
|
||||
.d2-2243286372 .background-color-B6{background-color:#F7F8FE;}
|
||||
.d2-2243286372 .background-color-AA2{background-color:#4A6FF3;}
|
||||
.d2-2243286372 .background-color-AA4{background-color:#EDF0FD;}
|
||||
.d2-2243286372 .background-color-AA5{background-color:#F7F8FE;}
|
||||
.d2-2243286372 .background-color-AB4{background-color:#EDF0FD;}
|
||||
.d2-2243286372 .background-color-AB5{background-color:#F7F8FE;}
|
||||
.d2-2243286372 .color-N1{color:#0A0F25;}
|
||||
.d2-2243286372 .color-N2{color:#676C7E;}
|
||||
.d2-2243286372 .color-N3{color:#9499AB;}
|
||||
.d2-2243286372 .color-N4{color:#CFD2DD;}
|
||||
.d2-2243286372 .color-N5{color:#DEE1EB;}
|
||||
.d2-2243286372 .color-N6{color:#EEF1F8;}
|
||||
.d2-2243286372 .color-N7{color:#FFFFFF;}
|
||||
.d2-2243286372 .color-B1{color:#0D32B2;}
|
||||
.d2-2243286372 .color-B2{color:#0D32B2;}
|
||||
.d2-2243286372 .color-B3{color:#E3E9FD;}
|
||||
.d2-2243286372 .color-B4{color:#E3E9FD;}
|
||||
.d2-2243286372 .color-B5{color:#EDF0FD;}
|
||||
.d2-2243286372 .color-B6{color:#F7F8FE;}
|
||||
.d2-2243286372 .color-AA2{color:#4A6FF3;}
|
||||
.d2-2243286372 .color-AA4{color:#EDF0FD;}
|
||||
.d2-2243286372 .color-AA5{color:#F7F8FE;}
|
||||
.d2-2243286372 .color-AB4{color:#EDF0FD;}
|
||||
.d2-2243286372 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker-d2-2243286372);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker-d2-2243286372);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark-d2-2243286372);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker-d2-2243286372);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark-d2-2243286372);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal-d2-2243286372);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal-d2-2243286372);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright-d2-2243286372);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]></style><g class="QVdTIEZpcmV3YWxsIE1hbmFnZXI="><g class="shape" ><rect x="12.000000" y="30.000000" width="230.000000" height="118.000000" stroke="#0D32B2" fill="#F7F8FE" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><image href="https://icons.terrastruct.com/aws%2FSecurity%2C%20Identity%2C%20&%20Compliance%2FAWS-Firewall-Manager.svg" x="97.500000" y="59.500000" width="59" height="59" clip-path="inset(0 round 5px)" /><text x="127.000000" y="51.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">AWS Firewall Manager</text></g><clipPath id="d2-2243286372-NRQW2YTEME-icon"><path d="M 262.000000 32.000000 L 262.000000 32.000000 S 262.000000 12.000000 282.000000 12.000000 L 370.000000 12.000000 L 370.000000 12.000000 S 390.000000 12.000000 390.000000 32.000000 L 390.000000 120.000000 S 390.000000 140.000000 370.000000 140.000000 L 282.000000 140.000000 S 262.000000 140.000000 262.000000 120.000000L 262.000000 32.000000Z 262.000000 12.000000" fill="none" /> </clipPath><g class="bGFtYmRh"><g class="shape" ><image href="https://icons.terrastruct.com/aws%2FCompute%2FAWS-Lambda.svg" x="262.000000" y="12.000000" width="128.000000" height="128.000000" stroke="#0D32B2" fill="#FFFFFF" class=" stroke-B1 fill-N7" style="stroke-width:2;" clip-path="url(#d2-2243286372-NRQW2YTEME-icon)" /></g><text x="326.000000" y="161.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">lambda</text></g><g class="QVdTIENsb3Vk"><g class="shape" ><rect x="410.000000" y="30.000000" width="148.000000" height="118.000000" stroke="#0D32B2" fill="#F7F8FE" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><image href="https://icons.terrastruct.com/aws%2F_Group%20Icons%2FAWS-Cloud_light-bg.svg" x="454.500000" y="59.500000" width="59" height="59" /><text x="484.000000" y="51.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">AWS Cloud</text></g><g class="TWVzaA=="><g class="shape" ><rect x="578.000000" y="30.000000" width="107.000000" height="118.000000" stroke="#0D32B2" fill="#F7F8FE" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><image href="https://icons.terrastruct.com/aws%2FNetworking%20&%20Content%20Delivery%2FAWS-App-Mesh.svg" x="604.500000" y="62.000000" width="54" height="54" clip-path="inset(0 round 999px)" /><text x="631.500000" y="51.000000" fill="#0A0F25" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px">Mesh</text></g><mask id="d2-2243286372" maskUnits="userSpaceOnUse" x="11" y="11" width="675" height="155">
|
||||
<rect x="11" y="11" width="675" height="155" fill="white"></rect>
|
||||
<rect x="45.500000" y="35.000000" width="163" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
<rect x="297.500000" y="145.000000" width="57" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
<rect x="443.500000" y="35.000000" width="81" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
<rect x="611.500000" y="35.000000" width="40" height="21" fill="rgba(0,0,0,0.75)"></rect>
|
||||
</mask></svg></svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -171,6 +171,29 @@ a -> b: hi {
|
|||
style.underline: true
|
||||
}
|
||||
|
||||
-- icon-style --
|
||||
|
||||
AWS Firewall Manager : {
|
||||
icon: https://icons.terrastruct.com/aws%2FSecurity%2C%20Identity%2C%20&%20Compliance%2FAWS-Firewall-Manager.svg
|
||||
icon.style.border-radius: 5
|
||||
}
|
||||
|
||||
lambda : {
|
||||
shape: image
|
||||
icon: https://icons.terrastruct.com/aws%2FCompute%2FAWS-Lambda.svg
|
||||
icon.style.border-radius: 20
|
||||
}
|
||||
|
||||
AWS Cloud : {
|
||||
icon: https://icons.terrastruct.com/aws%2F_Group%20Icons%2FAWS-Cloud_light-bg.svg
|
||||
icon.style.border-radius: 0
|
||||
}
|
||||
|
||||
Mesh : {
|
||||
icon: https://icons.terrastruct.com/aws%2FNetworking%20&%20Content%20Delivery%2FAWS-App-Mesh.svg
|
||||
icon.style.border-radius: 999
|
||||
}
|
||||
|
||||
-- none-fill --
|
||||
|
||||
vars: {
|
||||
|
|
@ -776,6 +799,12 @@ b -> c: {
|
|||
icon: https://icons.terrastruct.com/essentials%2F213-alarm.svg
|
||||
}
|
||||
|
||||
direction: right
|
||||
producer -> consumer: {
|
||||
icon: https://icons.terrastruct.com/aws%2FApplication%20Integration%2FAmazon-Simple-Queue-Service-SQS.svg
|
||||
icon.style.border-radius: 20
|
||||
}
|
||||
|
||||
-- model-view --
|
||||
# Models
|
||||
user.style.fill: blue
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/array-classes.exp.json
generated
vendored
|
|
@ -616,6 +616,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -651,6 +652,7 @@
|
|||
"value": "2"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -729,6 +731,7 @@
|
|||
"value": "4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "circle"
|
||||
|
|
@ -805,6 +808,7 @@
|
|||
"value": "4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "circle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/basic_icon.exp.json
generated
vendored
|
|
@ -86,6 +86,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -146,6 +147,7 @@
|
|||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/basic_sequence.exp.json
generated
vendored
|
|
@ -81,6 +81,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -128,6 +129,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sequence_diagram"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/basic_shape.exp.json
generated
vendored
|
|
@ -81,6 +81,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -128,6 +129,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "circle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/basic_style.exp.json
generated
vendored
|
|
@ -88,6 +88,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -139,6 +140,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/class-shape-class.exp.json
generated
vendored
|
|
@ -205,6 +205,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -262,6 +263,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "class"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/class_paren.exp.json
generated
vendored
|
|
@ -180,6 +180,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -248,6 +249,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "class"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/class_style.exp.json
generated
vendored
|
|
@ -154,6 +154,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -215,6 +216,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "class"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/classes.exp.json
generated
vendored
|
|
@ -642,6 +642,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -677,6 +678,7 @@
|
|||
"value": "4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -751,6 +753,7 @@
|
|||
"value": "orange"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "circle"
|
||||
|
|
@ -823,6 +826,7 @@
|
|||
"value": "red"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "circle"
|
||||
|
|
@ -875,6 +879,7 @@
|
|||
"value": "orange"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "circle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/default_direction.exp.json
generated
vendored
|
|
@ -42,6 +42,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -89,6 +90,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/dimension_with_style.exp.json
generated
vendored
|
|
@ -116,6 +116,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -167,6 +168,7 @@
|
|||
"value": "true"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "200"
|
||||
},
|
||||
|
|
|
|||
10
testdata/d2compiler/TestCompile/dimensions_on_containers.exp.json
generated
vendored
|
|
@ -950,6 +950,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -997,6 +998,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -1042,6 +1044,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "512"
|
||||
},
|
||||
|
|
@ -1090,6 +1093,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "128"
|
||||
},
|
||||
|
|
@ -1141,6 +1145,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "512"
|
||||
},
|
||||
|
|
@ -1192,6 +1197,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "128"
|
||||
},
|
||||
|
|
@ -1240,6 +1246,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "512"
|
||||
},
|
||||
|
|
@ -1291,6 +1298,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "128"
|
||||
},
|
||||
|
|
@ -1342,6 +1350,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "512"
|
||||
},
|
||||
|
|
@ -1393,6 +1402,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "128"
|
||||
},
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/dimensions_on_nonimage.exp.json
generated
vendored
|
|
@ -144,6 +144,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -191,6 +192,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"width": {
|
||||
"value": "200"
|
||||
},
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge.exp.json
generated
vendored
|
|
@ -65,6 +65,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -96,6 +97,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -143,6 +145,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -188,6 +191,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/edge_arrowhead_fields.exp.json
generated
vendored
|
|
@ -244,6 +244,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -269,6 +270,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
|
|
@ -292,6 +294,7 @@
|
|||
"value": "true"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -315,6 +318,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -362,6 +366,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -407,6 +412,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_arrowhead_primary.exp.json
generated
vendored
|
|
@ -104,6 +104,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -129,6 +130,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -153,6 +155,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -200,6 +203,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -245,6 +249,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/edge_chain.exp.json
generated
vendored
|
|
@ -112,6 +112,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -143,6 +144,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -173,6 +175,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -220,6 +223,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -285,6 +289,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -330,6 +335,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/edge_chain_map.exp.json
generated
vendored
|
|
@ -141,6 +141,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -172,6 +173,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -202,6 +204,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -249,6 +252,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -314,6 +318,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -359,6 +364,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_column_index.exp.json
generated
vendored
|
|
@ -343,6 +343,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -376,6 +377,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -514,6 +516,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
|
|
@ -650,6 +653,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_exclusive_style.exp.json
generated
vendored
|
|
@ -110,6 +110,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -145,6 +146,7 @@
|
|||
"value": "true"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -192,6 +194,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -237,6 +240,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_flat_arrowhead.exp.json
generated
vendored
|
|
@ -153,6 +153,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -178,6 +179,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
|
|
@ -205,6 +207,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -272,6 +275,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -337,6 +341,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_flat_label_arrowhead.exp.json
generated
vendored
|
|
@ -121,6 +121,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -146,6 +147,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -170,6 +172,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -217,6 +220,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -262,6 +266,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_index.exp.json
generated
vendored
|
|
@ -136,6 +136,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -170,6 +171,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -237,6 +239,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -302,6 +305,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_index_map.exp.json
generated
vendored
|
|
@ -155,6 +155,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -189,6 +190,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -256,6 +258,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -321,6 +324,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_index_nested.exp.json
generated
vendored
|
|
@ -165,6 +165,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -199,6 +200,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -246,6 +248,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -311,6 +314,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -376,6 +380,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_index_nested_cross_scope.exp.json
generated
vendored
|
|
@ -181,6 +181,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -215,6 +216,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -282,6 +284,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -347,6 +350,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -412,6 +416,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_key_group_flat_nested.exp.json
generated
vendored
|
|
@ -194,6 +194,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -232,6 +233,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -299,6 +301,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -364,6 +367,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -429,6 +433,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_key_group_flat_nested_underscore.exp.json
generated
vendored
|
|
@ -200,6 +200,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -238,6 +239,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -285,6 +287,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -330,6 +333,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -375,6 +379,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_key_group_map_flat_nested_underscore.exp.json
generated
vendored
|
|
@ -213,6 +213,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -251,6 +252,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -298,6 +300,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -343,6 +346,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -388,6 +392,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.exp.json
generated
vendored
|
|
@ -231,6 +231,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -269,6 +270,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -316,6 +318,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -361,6 +364,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -406,6 +410,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_label_map.exp.json
generated
vendored
|
|
@ -121,6 +121,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -156,6 +157,7 @@
|
|||
"value": "0.5"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -203,6 +205,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -248,6 +251,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_map.exp.json
generated
vendored
|
|
@ -104,6 +104,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -135,6 +136,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -182,6 +184,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -227,6 +230,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_map_arrowhead.exp.json
generated
vendored
|
|
@ -133,6 +133,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -158,6 +159,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
|
|
@ -182,6 +184,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -229,6 +232,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -274,6 +278,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_map_group_flat.exp.json
generated
vendored
|
|
@ -149,6 +149,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -187,6 +188,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -254,6 +256,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -319,6 +322,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_map_group_semiflat.exp.json
generated
vendored
|
|
@ -167,6 +167,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -205,6 +206,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -272,6 +274,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -337,6 +340,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_map_nested.exp.json
generated
vendored
|
|
@ -129,6 +129,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -164,6 +165,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -211,6 +213,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -256,6 +259,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/edge_map_nested_flat.exp.json
generated
vendored
|
|
@ -111,6 +111,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -146,6 +147,7 @@
|
|||
"value": "0.4"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -193,6 +195,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -238,6 +241,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/edge_mixed_arrowhead.exp.json
generated
vendored
|
|
@ -221,6 +221,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -246,6 +247,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
|
|
@ -265,6 +267,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
|
|
@ -291,6 +294,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -358,6 +362,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -423,6 +428,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_non_shape_arrowhead.exp.json
generated
vendored
|
|
@ -115,6 +115,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -140,6 +141,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "triangle"
|
||||
|
|
@ -164,6 +166,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -211,6 +214,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -256,6 +260,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/edge_semiflat_arrowhead.exp.json
generated
vendored
|
|
@ -171,6 +171,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -196,6 +197,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
|
|
@ -223,6 +225,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -290,6 +293,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -355,6 +359,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/escaped_id.exp.json
generated
vendored
|
|
@ -42,6 +42,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -89,6 +90,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/fill-pattern.exp.json
generated
vendored
|
|
@ -110,6 +110,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -161,6 +162,7 @@
|
|||
"value": "dots"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/glob-connection-steps.exp.json
generated
vendored
|
|
@ -173,6 +173,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -356,6 +357,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -481,6 +483,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -532,6 +535,7 @@
|
|||
"value": "black"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
3
testdata/d2compiler/TestCompile/glob-spread-vars/1.exp.json
generated
vendored
|
|
@ -206,6 +206,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -253,6 +254,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -302,6 +304,7 @@
|
|||
"value": "red"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
7
testdata/d2compiler/TestCompile/glob-spread-vars/2.exp.json
generated
vendored
|
|
@ -256,6 +256,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -287,6 +288,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -317,6 +319,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -364,6 +367,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -409,6 +413,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -454,6 +459,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -561,6 +567,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/grid.exp.json
generated
vendored
|
|
@ -106,6 +106,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -153,6 +154,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
10
testdata/d2compiler/TestCompile/grid_nested.exp.json
generated
vendored
|
|
@ -342,6 +342,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -389,6 +390,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -440,6 +442,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -485,6 +488,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -530,6 +534,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -586,6 +591,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -642,6 +648,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -687,6 +694,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -738,6 +746,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -783,6 +792,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/icon-near-composite-together.exp.json
generated
vendored
|
|
@ -120,6 +120,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -180,6 +181,7 @@
|
|||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/image_style.exp.json
generated
vendored
|
|
@ -163,6 +163,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -227,6 +228,7 @@
|
|||
"Fragment": "",
|
||||
"RawFragment": ""
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "image"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/import-connections.exp.json
generated
vendored
|
|
@ -129,6 +129,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -160,6 +161,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -190,6 +192,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -381,6 +384,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -477,6 +481,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -573,6 +578,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
3
testdata/d2compiler/TestCompile/import-icon-near.exp.json
generated
vendored
|
|
@ -61,6 +61,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -128,6 +129,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -173,6 +175,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/import-link-layer-1.exp.json
generated
vendored
|
|
@ -172,6 +172,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -219,6 +220,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -313,6 +315,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -371,6 +374,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.z"
|
||||
},
|
||||
|
|
@ -430,6 +434,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -477,6 +482,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/import-link-layer-2.exp.json
generated
vendored
|
|
@ -120,6 +120,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -178,6 +179,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.z"
|
||||
},
|
||||
|
|
@ -237,6 +239,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -284,6 +287,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
8
testdata/d2compiler/TestCompile/import-link-layer-3.exp.json
generated
vendored
|
|
@ -172,6 +172,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -219,6 +220,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -394,6 +396,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -441,6 +444,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -535,6 +539,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -593,6 +598,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.z"
|
||||
},
|
||||
|
|
@ -654,6 +660,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -701,6 +708,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
10
testdata/d2compiler/TestCompile/import-link-layer-4.exp.json
generated
vendored
|
|
@ -190,6 +190,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -237,6 +238,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -464,6 +466,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -511,6 +514,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -605,6 +609,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -663,6 +668,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.z"
|
||||
},
|
||||
|
|
@ -722,6 +728,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -769,6 +776,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -827,6 +835,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -874,6 +883,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
13
testdata/d2compiler/TestCompile/import-link-underscore-1.exp.json
generated
vendored
|
|
@ -120,6 +120,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -167,6 +168,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -696,6 +698,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -743,6 +746,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -1139,6 +1143,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1197,6 +1202,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
@ -1256,6 +1262,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.k"
|
||||
},
|
||||
|
|
@ -1475,6 +1482,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1533,6 +1541,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.b"
|
||||
},
|
||||
|
|
@ -1592,6 +1601,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
@ -1651,6 +1661,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.b"
|
||||
},
|
||||
|
|
@ -1712,6 +1723,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1759,6 +1771,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
13
testdata/d2compiler/TestCompile/import-link-underscore-2.exp.json
generated
vendored
|
|
@ -138,6 +138,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -185,6 +186,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -714,6 +716,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -761,6 +764,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -1157,6 +1161,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1215,6 +1220,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
@ -1274,6 +1280,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.k"
|
||||
},
|
||||
|
|
@ -1493,6 +1500,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1551,6 +1559,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.b"
|
||||
},
|
||||
|
|
@ -1610,6 +1619,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
@ -1669,6 +1679,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.b"
|
||||
},
|
||||
|
|
@ -1730,6 +1741,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1777,6 +1789,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
8
testdata/d2compiler/TestCompile/import-link-underscore-3.exp.json
generated
vendored
|
|
@ -190,6 +190,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -237,6 +238,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -412,6 +414,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -459,6 +462,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -553,6 +557,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -611,6 +616,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.b"
|
||||
},
|
||||
|
|
@ -672,6 +678,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -719,6 +726,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
8
testdata/d2compiler/TestCompile/import-nested-layers.exp.json
generated
vendored
|
|
@ -120,6 +120,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -167,6 +168,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -385,6 +387,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -432,6 +435,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -569,6 +573,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -616,6 +621,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -672,6 +678,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -719,6 +726,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/import-scenario.exp.json
generated
vendored
|
|
@ -62,6 +62,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -109,6 +110,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -154,6 +156,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -272,6 +275,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -319,6 +323,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -395,6 +400,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"tooltip": {
|
||||
"value": "foo"
|
||||
},
|
||||
|
|
|
|||
9
testdata/d2compiler/TestCompile/import-steps.exp.json
generated
vendored
|
|
@ -62,6 +62,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -109,6 +110,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -154,6 +156,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -272,6 +275,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -319,6 +323,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -395,6 +400,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"tooltip": {
|
||||
"value": "foo"
|
||||
},
|
||||
|
|
@ -516,6 +522,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -563,6 +570,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -670,6 +678,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"tooltip": {
|
||||
"value": "do"
|
||||
},
|
||||
|
|
|
|||
3
testdata/d2compiler/TestCompile/import-style-1.exp.json
generated
vendored
|
|
@ -127,6 +127,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -300,6 +301,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -402,6 +404,7 @@
|
|||
"value": "red"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/import-style-2.exp.json
generated
vendored
|
|
@ -138,6 +138,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -333,6 +334,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -442,6 +444,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -555,6 +558,7 @@
|
|||
"value": "red"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
1
testdata/d2compiler/TestCompile/import-var-chain.exp.json
generated
vendored
|
|
@ -39,6 +39,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/import_url_link.exp.json
generated
vendored
|
|
@ -39,6 +39,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -86,6 +87,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "https://google.com"
|
||||
},
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/label-near-composite-separate.exp.json
generated
vendored
|
|
@ -125,6 +125,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -172,6 +173,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/label-near-composite-together.exp.json
generated
vendored
|
|
@ -120,6 +120,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -167,6 +168,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/label-near-parent.exp.json
generated
vendored
|
|
@ -102,6 +102,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -149,6 +150,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/layer-import-nested-layer.exp.json
generated
vendored
|
|
@ -97,6 +97,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -212,6 +213,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -269,6 +271,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -316,6 +319,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/leaky_sequence.exp.json
generated
vendored
|
|
@ -161,6 +161,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -192,6 +193,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -270,6 +272,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sequence_diagram"
|
||||
|
|
@ -346,6 +349,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -391,6 +395,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
8
testdata/d2compiler/TestCompile/legend.exp.json
generated
vendored
|
|
@ -736,6 +736,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -835,6 +836,7 @@
|
|||
"value": "#f5f5f5"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "person"
|
||||
|
|
@ -932,6 +934,7 @@
|
|||
"value": "#b5d3ff"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "cylinder"
|
||||
|
|
@ -978,6 +981,7 @@
|
|||
"value": "blue"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1022,6 +1026,7 @@
|
|||
"value": "5"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1055,6 +1060,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -1122,6 +1128,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -1187,6 +1194,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/link-beyond-import-root.exp.json
generated
vendored
|
|
@ -39,6 +39,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -97,6 +98,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/link-board-key-nested.exp.json
generated
vendored
|
|
@ -173,6 +173,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -220,6 +221,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -276,6 +278,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
@ -335,6 +338,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -382,6 +386,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
8
testdata/d2compiler/TestCompile/link-board-mixed.exp.json
generated
vendored
|
|
@ -323,6 +323,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -401,6 +402,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.cat"
|
||||
},
|
||||
|
|
@ -537,6 +539,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -568,6 +571,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -615,6 +619,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -660,6 +665,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -828,6 +834,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -952,6 +959,7 @@
|
|||
"value": "green"
|
||||
}
|
||||
},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.cat"
|
||||
},
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/link-board-nested.exp.json
generated
vendored
|
|
@ -202,6 +202,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -260,6 +261,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x.layers.x"
|
||||
},
|
||||
|
|
@ -377,6 +379,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -434,6 +437,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -481,6 +485,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/link-board-not-board.exp.json
generated
vendored
|
|
@ -167,6 +167,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -214,6 +215,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -270,6 +272,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -326,6 +329,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -373,6 +377,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
2
testdata/d2compiler/TestCompile/link-board-not-found-1.exp.json
generated
vendored
|
|
@ -63,6 +63,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -121,6 +122,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
5
testdata/d2compiler/TestCompile/link-board-not-found-2.exp.json
generated
vendored
|
|
@ -230,6 +230,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -326,6 +327,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -373,6 +375,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -468,6 +471,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -515,6 +519,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
4
testdata/d2compiler/TestCompile/link-board-ok.exp.json
generated
vendored
|
|
@ -144,6 +144,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -202,6 +203,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
@ -261,6 +263,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -308,6 +311,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/link-board-underscore-not-found.exp.json
generated
vendored
|
|
@ -225,6 +225,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -272,6 +273,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -447,6 +449,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -494,6 +497,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -588,6 +592,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -646,6 +651,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
|
|||
7
testdata/d2compiler/TestCompile/link-board-underscore.exp.json
generated
vendored
|
|
@ -269,6 +269,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -316,6 +317,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -552,6 +554,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -599,6 +602,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -754,6 +758,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -812,6 +817,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
@ -871,6 +877,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.x"
|
||||
},
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/link-file-underscore.exp.json
generated
vendored
|
|
@ -39,6 +39,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -86,6 +87,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -142,6 +144,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -189,6 +192,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -283,6 +287,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -341,6 +346,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.a"
|
||||
},
|
||||
|
|
@ -641,6 +647,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -688,6 +695,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "rectangle"
|
||||
|
|
@ -904,6 +912,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
|
|
@ -962,6 +971,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.e"
|
||||
},
|
||||
|
|
@ -1021,6 +1031,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root"
|
||||
},
|
||||
|
|
@ -1080,6 +1091,7 @@
|
|||
"height": 0
|
||||
},
|
||||
"style": {},
|
||||
"iconStyle": {},
|
||||
"link": {
|
||||
"value": "root.layers.a"
|
||||
},
|
||||
|
|
|
|||