-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
TALA 0.3.0 implements position-locking to give control over parts of the diagram where you need it. This is an advanced feature that opens up a world of possibilities to create small bubbles of customized layouts and combine it with autolayout. For example, here's a legend: | ||
|
||
<img src="https://raw.githubusercontent.com/terrastruct/TALA/master/docs/assets/legend.png" /> | ||
|
||
```d2 | ||
Legend: { | ||
top: 0 | ||
left: 0 | ||
blue: "" { | ||
width: 20 | ||
height: 20 | ||
left: 0 | ||
top: 0 | ||
style.stroke: black | ||
} | ||
blue-explanation: Actions { | ||
shape: text | ||
left: 50 | ||
top: 0 | ||
} | ||
green: "" { | ||
width: 20 | ||
height: 20 | ||
left: 0 | ||
top: 50 | ||
style.fill: honeydew | ||
style.stroke: black | ||
} | ||
green-explanation: Intermediate artifacts { | ||
shape: text | ||
left: 50 | ||
top: 50 | ||
} | ||
} | ||
``` | ||
|
||
We're excited to see all the creative diagrams this enables! | ||
|
||
#### Features 🚀 | ||
|
||
- `top` and `left` positions implemented. | ||
|
||
#### Improvements 🧹 | ||
|
||
- ~30% faster for large, connected diagrams | ||
- Much faster gap normalization for all diagrams | ||
- Bin-packing algorithm improved to reduce whitespace between non-connected subgraphs | ||
|
||
#### Bugfixes ⛑️ | ||
|
||
- Fixes label placements avoiding connections that weren't actually obstructing | ||
- Fixes a rare panic that could with cluster nodes | ||
- Edges could sometimes route through nodes that were not part of its subgraph | ||
- Edges between containers that were perfectly aligned was sometimes unable to find a route. |