Error: Unrecognized transform type: "stratify"
Closed this issue · 2 comments
karan10singla commented
Application suddenly stopped working with - Error: Unrecognized transform type: "stratify", while trying to render the tree.
using react-vega@7.1.0"
{
"name": "tree",
"transform": [
{
"type": "stratify",
"key": "id",
"parentKey": "parent"
},
{
"type": "tree",
"method": {
"signal": "layout"
},
"size": [
{
"signal": "height"
},
{
"signal": "width - 100"
}
],
"separation": {
"signal": "separation"
},
"as": [
"y",
"x",
"depth",
"children"
]
}
],
"values": [
{
"id": "0",
"name": "Test0",
"parent": null
},
{
"id": "1",
"name": "Test0",
"parent": "0"
},
{
"id": "2",
"name": "Test0",
"parent": "0"
},
{
"id": "3",
"name": "Test0",
"parent": "1"
},
{
"id": "4",
"name": "Test0",
"parent": "1"
}
]
}
kristw commented
I think this is more of a question for vega
or vega-lite
?
domoritz commented
We have seen this issue happening when there are two versions of Vega transforms installed. Please remove your lockfile and re-create it.