graphein-mcp 0.8.0 → 0.9.0

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": "graphein-mcp",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "description": "Model Context Protocol server for Graphein — wraps generate → validate → repair → render → critique into one tool call, and serves Graphein's schema + agent guide as resources so a model that never saw the API can still build correct charts.",
6
6
  "license": "MIT",
@@ -61,9 +61,9 @@
61
61
  "prepack": "tsup"
62
62
  },
63
63
  "dependencies": {
64
- "@graphein/node": "^0.8.0",
64
+ "@graphein/node": "^0.9.0",
65
65
  "@modelcontextprotocol/sdk": "^1.20.0",
66
- "graphein": "^0.8.0",
66
+ "graphein": "^0.9.0",
67
67
  "zod": "^3.23.0"
68
68
  }
69
69
  }
@@ -575,6 +575,10 @@
575
575
  "labels": {
576
576
  "type": "boolean",
577
577
  "description": "Show tick labels."
578
+ },
579
+ "labelAngle": {
580
+ "type": "number",
581
+ "description": "Rotation of x-axis tick labels in degrees: `0` horizontal, `45` diagonal, `90` vertical. Omit for **auto** — categorical (bar/column) labels rotate to 45° when there isn't room to show them all horizontally, so every category stays visible instead of being thinned out. (X axis only.)"
578
582
  }
579
583
  },
580
584
  "additionalProperties": false
@@ -98,6 +98,7 @@ Shared by **all** chart types.
98
98
  | `tickValues` | `number[]` | Explicit tick positions. |
99
99
  | `format` | `string` | [Format hint](#format-mini-language) for tick labels. |
100
100
  | `labels` | `boolean` | Show/hide tick labels. |
101
+ | `labelAngle` | `number` | X‑axis only. Tick‑label rotation in degrees (`0`/`45`/`90`). Omit for **auto**: dense categorical labels rotate to 45° so all stay visible instead of being thinned. |
101
102
 
102
103
  ### `SketchConfig`
103
104