@cardenelabs/cdl 0.31.0 → 0.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cardenelabs/cdl",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "description": "CDL (Chainome Diagram Language). Mermaid-like declarative DSL that compiles to animated SVG diagrams. Built for blockchain / Solidity flows, generic enough for sequence / flow / state / ER / topology diagrams.",
5
5
  "license": "MIT",
6
6
  "author": "cardene777",
@@ -141,6 +141,17 @@ export function ChartLineNode({
141
141
 
142
142
  return (
143
143
  <g transform={`translate(${x0} ${y0})`}>
144
+ <rect
145
+ data-cdl-role="node-body"
146
+ x={0}
147
+ y={0}
148
+ width={node.w}
149
+ height={node.h}
150
+ rx={16}
151
+ fill="var(--cdl-node-fill, #ffffff)"
152
+ stroke="var(--cdl-divider, #d4d4d8)"
153
+ strokeWidth={active ? 1.5 : 1}
154
+ />
144
155
  {gridTicks.map((t, i) => (
145
156
  <g key={`grid-${i}`}>
146
157
  <line