跳到主要内容

cabinet-graph

<data-view.cabinet-graph>

data-view.cabinet-graph 部署架构拓扑

Examples

Basic

Playground

Properties

NameDescriptionTypeDefaultRequired
dataSourceAppData
activeKeystring | string[]
hiddenCloseBtnboolean

Events

NameDescriptionEvent Detail
close.button.clickvoid
cabinet.click{ type: ChangeType; data: Record<string, any> }
cabinet.dbclick{ type: ChangeType; data: Record<string, any> }

Type references

AppData

NameTypeRequiredDescription
appNamestring
keystring
clustersClusters[]

Clusters

NameTypeRequiredDescription
clusterNamestring
keystring
type"host" | "k8s" | "k8s-blue"
nodesNode[]

Node

NameTypeRequiredDescription
nodeTitlestring
keystring
type"container-group" | "physical-machine" | "virtual-machine"
isAlertboolean

ChangeType

"node" | "cluster" | "layer"