🎉
This commit is contained in:
24
ui/Components/Graph.vue
Normal file
24
ui/Components/Graph.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<div>
|
||||
<Node
|
||||
v-for="(node, index) in graph"
|
||||
:key="index"
|
||||
:node="node"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import Node from './Node.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Node,
|
||||
},
|
||||
props: {
|
||||
graph: {
|
||||
type: Array,
|
||||
required: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user