This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cyber-narrator-cn-ui/src/views/entityExplorer/EntityGraph.vue

39 lines
728 B
Vue
Raw Normal View History

2023-06-16 17:18:58 +08:00
<template>
<div class="entity-graph">
<div class="entity-graph__chart"></div>
<div class="entity-graph__detail">
<ip-list v-if="mode === 'ipList'"></ip-list>
</div>
</div>
</template>
<script>
import IpList from '@/views/entityExplorer/entityGraphDetail/IpList'
export default {
name: 'EntityRelationship',
components: {
IpList
},
data () {
return {
mode: 'ipList' // ipList, ipDetail, domainList, domainDetail, appList, appDetail
}
}
}
</script>
<style lang="scss">
.entity-graph {
display: flex;
.entity-graph__chart {
width: calc(100% - 360px);
}
.entity-graph__detail {
width: 360px;
border-left: 1px solid #E2E5EC;
overflow: auto;
}
}
</style>