images, boxes, ellipses, lines

This commit is contained in:
2025-11-05 15:44:08 -07:00
parent 83c89542fb
commit 2ad7875a7f
4 changed files with 42 additions and 4 deletions

View File

@@ -23,7 +23,12 @@ labels. An array called `color` will set the color via 0 to 1 RGBA values.
Added `areas` which are exactly like nodes except that they always draw a white
label and can have a custom radius specified. Drawn between edges and nodes.
Use transparency. 25% works well.
- TODO Options: box instead of circle, line instead of fill, ovals
- `box` can be an array of width/height to draw a rectangular shape instead
- `radius` can be an array of x/z radii to draw an ellipse instead of a circle
- `mode` can be "line" to draw an outline instead of filling
- `image` can be a file path, in which case `size` must be an array of desired
width/height
- (path relative to the JSON file? or relative to the executable?)
## Example JSON