removedInput schema / properties / edges / description
Removed value: -"[{source, target, cost}]"
addedInput schema / properties / edges / items / properties
Added value: +{
+ "cost": {
+ "type": "number"
+ },
+ "from": {
+ "type": "string"
+ },
+ "risk": {
+ "type": "number"
+ },
+ "time": {
+ "type": "number"
+ },
+ "to": {
+ "type": "string"
+ }
+}
addedInput schema / properties / edges / items / required
Added value: +[
+ "from",
+ "to"
+]
addedInput schema / properties / end
Added value: +{
+ "description": "Goal node ID.",
+ "type": "string"
+}
removedInput schema / properties / goal
Removed value: -{
- "description": "Goal node ID",
- "type": "string"
-}
addedInput schema / properties / heuristic
Added value: +{
+ "description": "A* heuristic. 'zero' = Dijkstra (default).",
+ "enum": [
+ "zero",
+ "time",
+ "cost",
+ "risk",
+ "weighted"
+ ],
+ "type": "string"
+}
removedInput schema / properties / k
Removed value: -{
- "description": "Number of paths (default: 1)",
- "type": "number"
-}
addedInput schema / properties / kPaths
Added value: +{
+ "description": "Return up to k alternative paths (default: 1).",
+ "minimum": 1,
+ "type": "integer"
+}
removedInput schema / properties / nodes / description
Removed value: -"[{id, x?, y?}]"
addedInput schema / properties / nodes / items / properties
Added value: +{
+ "cost": {
+ "description": "Heuristic cost estimate at this node (used by 'cost' heuristic).",
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "risk": {
+ "type": "number"
+ },
+ "time": {
+ "type": "number"
+ }
+}
addedInput schema / properties / nodes / items / required
Added value: +[
+ "id"
+]
addedInput schema / properties / nodes / minItems
Added value: +2
changedInput schema / properties / start / description
Previous value: -"Start node ID"New value: +"Start node ID."
changedInput schema / required
Previous value: -[
- "nodes",
- "edges",
- "start",
- "goal"
-]New value: +[
+ "nodes",
+ "edges",
+ "start",
+ "end"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "alternativePaths": {
+ "description": "Only present when kPaths > 1.",
+ "items": {
+ "properties": {
+ "cost": {
+ "type": "number"
+ },
+ "path": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "breakdown": {
+ "properties": {
+ "cost": {
+ "type": "number"
+ },
+ "risk": {
+ "type": "number"
+ },
+ "time": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "executionTimeMs": {
+ "type": "number"
+ },
+ "found": {
+ "description": "False if no path exists.",
+ "type": "boolean"
+ },
+ "nodesExplored": {
+ "type": "integer"
+ },
+ "path": {
+ "description": "Node IDs from start to end.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "totalCost": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "path",
+ "totalCost",
+ "found"
+ ],
+ "type": "object"
+}