Skip to content

如何固定关系图的中心坐标 #14255

@coconutLatte

Description

@coconutLatte

我设置了一套算法来计算多个node的坐标,但是每次改变时都会存在不固定的情况。
请问有没有办法将关系图的中心坐标固定成(0,0),可以让我自定义其他node的坐标?

版本:echarts3

我的option信息:

option = {
    xAxis: {
        show: false,
        type: 'value'
    },
    yAxis: {
        show: false,
        type: 'value'
    },
    series: [{
        type: 'graph',
        zlevel: 9999,
        layout: 'none',
        coordinateSystem: 'cartesian2d',
        data: [],
        links: []
    }]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis issue was not created using the issue template.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions