我遇到了 JIT Spacetree 的问题,其中节点之间的空间相距很远,导致视图无法使用。前几个节点很好,但是当您深入到树中时,子节点上的间距会增加。
我正在使用与 JIT 站点 http://philogb.github.io/jit/static/v20/Jit/Examples/Spacetree/example1.html上的示例 1 非常相似的非常普通的配置
这是一个显示片段的屏幕截图,但问题比这显示的更糟,因为间距随着额外节点的增加而进一步增加。
https://dl.dropboxusercontent.com/u/5454906/spacetree_issue.png
我已经成功使用了一段时间,但从未遇到过这个特殊问题。
有没有人有任何想法/想法?
谢谢
尼尔
这是生成的示例 JSON 集。
{
"id": "Class91240",
"name": "Cube Org - OrgID",
"data": {"nodeType": "reportObj"},
"children": [{
"id": "001",
"name": "Data Warehouse - Org",
"data": {"nodeType": "dataRep"},
"children": [
{
"id": "002",
"name": "DataWarehouse Loader - Update Org Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "003",
"name": "Staging Database - MasterOrg",
"data": {"nodeType": "dataRep"},
"children": [
{
"id": "Class90189",
"name": "Staging Interface - Update Master Org Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91838",
"name": "Staging Database - ExtractABC",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class93632",
"name": "Staging Interface - Rates Data",
"data": {"nodeType": "busLogic"},
"children": [{
"id": "Class90125",
"name": "Operational Data Stored Procedures - Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class90387",
"name": "sim_xyz_rates",
"data": {"nodeType": "feed"},
"children": []
}]
}]
}]
}]
},
{
"id": "Class90340",
"name": "Staging Interface - Update Master tables Budget Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91889",
"name": "Staging Database - ExtractPQR_Fact01",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class90308",
"name": "Web UI Interface - Export Template Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91942",
"name": "HTC Staging Database - DEF_Template",
"data": {"nodeType": "dataRep"},
"children": []
}]
}]
}]
},
{
"id": "Class90342",
"name": "Staging Interface - Update Master tables Forecast Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91889",
"name": "Staging Database - ExtractPQR_Fact01",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class90308",
"name": "Web UI Interface - Export Template Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91942",
"name": "HTC Staging Database - DEF_Template",
"data": {"nodeType": "dataRep"},
"children": []
}]
}]
}]
}
]
}]
},
{
"id": "Class90324",
"name": "DataWarehouse Loader - Update Discovery Tables Budget Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "003",
"name": "Staging Database - MasterOrg",
"data": {"nodeType": "dataRep"},
"children": [
{
"id": "Class90189",
"name": "Staging Interface - Update Master Org Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91838",
"name": "Staging Database - ExtractABC",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class93632",
"name": "Staging Interface - Rates Data",
"data": {"nodeType": "busLogic"},
"children": [{
"id": "Class90125",
"name": "Operational Data Stored Procedures - Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class90387",
"name": "sim_xyz_rates",
"data": {"nodeType": "feed"},
"children": []
}]
}]
}]
}]
},
{
"id": "Class90340",
"name": "Staging Interface - Update Master tables Budget Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91889",
"name": "Staging Database - ExtractPQR_Fact01",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class90308",
"name": "Web UI Interface - Export Template Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91942",
"name": "HTC Staging Database - DEF_Template",
"data": {"nodeType": "dataRep"},
"children": []
}]
}]
}]
},
{
"id": "Class90342",
"name": "Staging Interface - Update Master tables Forecast Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91889",
"name": "Staging Database - ExtractPQR_Fact01",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class90308",
"name": "Web UI Interface - Export Template Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91942",
"name": "HTC Staging Database - DEF_Template",
"data": {"nodeType": "dataRep"},
"children": []
}]
}]
}]
}
]
}]
},
{
"id": "Class90331",
"name": "DataWarehouse Loader - Update Discovery Tables Forecast Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "003",
"name": "Staging Database - MasterOrg",
"data": {"nodeType": "dataRep"},
"children": [
{
"id": "Class90189",
"name": "Staging Interface - Update Master Org Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91838",
"name": "Staging Database - ExtractABC",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class93632",
"name": "Staging Interface - Rates Data",
"data": {"nodeType": "busLogic"},
"children": [{
"id": "Class90125",
"name": "Operational Data Stored Procedures - Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class90387",
"name": "sim_xyz_rates",
"data": {"nodeType": "feed"},
"children": []
}]
}]
}]
}]
},
{
"id": "Class90340",
"name": "Staging Interface - Update Master tables Budget Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91889",
"name": "Staging Database - ExtractPQR_Fact01",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class90308",
"name": "Web UI Interface - Export Template Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91942",
"name": "HTC Staging Database - DEF_Template",
"data": {"nodeType": "dataRep"},
"children": []
}]
}]
}]
},
{
"id": "Class90342",
"name": "Staging Interface - Update Master tables Forecast Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91889",
"name": "Staging Database - ExtractPQR_Fact01",
"data": {"nodeType": "dataRep"},
"children": [{
"id": "Class90308",
"name": "Web UI Interface - Export Template Data",
"data": {"nodeType": "interface"},
"children": [{
"id": "Class91942",
"name": "HTC Staging Database - DEF_Template",
"data": {"nodeType": "dataRep"},
"children": []
}]
}]
}]
}
]
}]
}
]
}]
}