You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -20,7 +20,7 @@ See the [manual](docs/manual.pdf?raw=true) for documentation or ask the communit
20
20
21
21
22
22
```typ
23
-
#import "@preview/fletcher:0.5.9" as fletcher: diagram, node, edge
23
+
#import "@preview/fletcher:0.6.0" as fletcher: diagram, node, edge
24
24
```
25
25
26
26
@@ -187,12 +187,12 @@ Pull requests are most welcome!
187
187
188
188
### 0.6.0
189
189
190
-
- Complete rewrite.
191
-
192
-
### 0.5.9
193
-
194
-
-Support named edges (#16, #96).
195
-
-Minor improvements too mark scaling.
190
+
-*Complete rewrite;* there are many breaking changes.
191
+
- Nodes and edges can now appear directly in a CeTZ canvas and use the normal coordinate system. The elastic coordinate system used in `diagram()` can also be achieved by using `flexigrid()` inside a CeTZ canvas.
192
+
- Nodes and edges can be styled with `cetz.draw.set-style()`, like other CeTZ elements.
193
+
- Row and column sizes of flexigrids can be set with an interface similar to `std.grid()`.
194
+
-Edges can be named and support path anchors.
195
+
-The `debug` option of `diagram()` has been added to `node()` and `edge()`, and allows more granular control with string arguments (e.g., `debug: "grid.cells"` or `debug: "node edge.snap"`).
Copy file name to clipboardExpand all lines: README.src.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,12 +38,12 @@ Pull requests are most welcome!
38
38
39
39
### 0.6.0
40
40
41
-
- Complete rewrite.
42
-
43
-
### 0.5.9
44
-
45
-
-Support named edges (#16, #96).
46
-
-Minor improvements too mark scaling.
41
+
-*Complete rewrite;* there are many breaking changes.
42
+
- Nodes and edges can now appear directly in a CeTZ canvas and use the normal coordinate system. The elastic coordinate system used in `diagram()` can also be achieved by using `flexigrid()` inside a CeTZ canvas.
43
+
- Nodes and edges can be styled with `cetz.draw.set-style()`, like other CeTZ elements.
44
+
- Row and column sizes of flexigrids can be set with an interface similar to `std.grid()`.
45
+
-Edges can be named and support path anchors.
46
+
-The `debug` option of `diagram()` has been added to `node()` and `edge()`, and allows more granular control with string arguments (e.g., `debug: "grid.cells"` or `debug: "node edge.snap"`).
0 commit comments