29 lines
450 B
Vue
29 lines
450 B
Vue
|
|
<template>
|
||
|
|
<div class="detailNode-component">
|
||
|
|
<div class="graph-container" id="container"></div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup>
|
||
|
|
import { defineProps } from "vue"
|
||
|
|
|
||
|
|
const props = defineProps({
|
||
|
|
detailNode: {
|
||
|
|
type: Array,
|
||
|
|
default: () => []
|
||
|
|
}
|
||
|
|
})
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped lang="less">
|
||
|
|
.detailNode-component {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
position: relative;
|
||
|
|
.graph-container {
|
||
|
|
width: 100%;
|
||
|
|
height: 93%;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|