added bit separators

This commit is contained in:
2025-11-21 16:50:46 +01:00
parent 6095b5784e
commit aeb413abb4

View File

@@ -36,13 +36,31 @@
name: str(rank) name: str(rank)
) )
// Range boundaries if j != struct.bits - 1 {
if rank in boundaries and j != struct.bits - 1 { let top = str(rank) + ".north-east"
draw.line( let bottom = str(rank) + ".south-east"
str(rank) + ".north-east",
str(rank) + ".south-east", // Group boundary
stroke: config.border-color if rank in boundaries {
) draw.line(
top,
bottom,
stroke: config.border-color
)
// Bit separator
} else {
draw.line(
top,
((), 20%, bottom),
stroke: config.border-color
)
draw.line(
bottom,
((), 20%, top),
stroke: config.border-color
)
}
} }
} }
}) })