Skip to content

Commit e94e0e8

Browse files
committed
chore(docs): cleanup
1 parent 3ca9aca commit e94e0e8

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

docs/components/home/Banner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const downloadCountTransitioned = useTransition(downloadCount, {
2222
})
2323
2424
starGazersCount.value = 3000
25-
downloadCount.value = 50000
25+
downloadCount.value = 150000
2626
2727
Promise.all([
2828
$fetch('https://api.github.com/repos/bcakmakoglu/vue-flow?page=$i&per_page=100').then((data) => {

docs/src/guide/edge.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ function logEvent(name, data) {
7979
}
8080
</script>
8181

82-
# Introduction to Edges
83-
8482
Edges are the links connecting your nodes, forming a map.
8583
Each edge runs from one handle to another, and can be customized to your liking.
8684

docs/src/guide/node.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ function logEvent(name, data) {
5050
}
5151
</script>
5252

53-
# Introduction to Nodes
54-
5553
Nodes are the underlying components of your graph.
5654
They can be any kind of data you want to visualize in your graph, existing independently and being interconnected
5755
through edges to create a data map.

docs/src/guide/vue-flow/state.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# State
22

3-
## Introduction
4-
53
Under the hood Vue Flow uses [Provide/Inject](https://v3.vuejs.org/guide/component-provide-inject)
64
to pass around it's state between components.
75
You can access the internal state through the [`useVueFlow`](/guide/composables#usevueflow/) composable.
@@ -12,13 +10,11 @@ an already existing store from the current context.
1210
Internal state can be manipulated, for example by adding new elements to the state. The
1311
state is reactive and changes will be reflected on the graph.
1412

15-
```vue{4-6}
13+
```vue
1614
<script setup>
1715
import { useVueFlow } from '@vue-flow/core'
1816
19-
const { getNodes, onPaneReady } = useVueFlow({
20-
... // you can pass any VueFlowProp to the composable as a static option
21-
})
17+
const { getNodes, onPaneReady } = useVueFlow()
2218
2319
// event handler
2420
onPaneReady((i) => i.fitView())

0 commit comments

Comments
 (0)