action.graph | *
创新互联是一家专业提供银川企业网站建设,专注与做网站、网站设计、成都h5网站建设、小程序制作等业务。10年已为银川众多企业、政府机构等服务。创新互联专业网络公司优惠进行中。
关系图相关的行为,必须引入关系图后才能使用。
action.graph.focusNodeAdjacency | Action
将指定的节点以及其所有邻接节点高亮。
dispatchAction({
type: 'focusNodeAdjacency',
// 使用 seriesId 或 seriesIndex 或 seriesName 来定位 series.
seriesId: 'xxx',
seriesIndex: 0,
seriesName: 'nnn',
// 使用 dataIndex 来定位节点。
dataIndex: 12
})
最后会抛出 focusNodeAdjacency 事件。
action.graph.unfocusNodeAdjacency | Action
取消指定的节点以及其所有邻接节点高亮。
dispatchAction({
type: 'unfocusNodeAdjacency',
// 使用 seriesId 或 seriesIndex 或 seriesName 来定位 series.
seriesId: 'xxx',
seriesIndex: 0,
seriesName: 'nnn'
})
最后会抛出 unfocusNodeAdjacency 事件。