docs: fix links for docsearch

This commit is contained in:
bcakmakoglu
2022-06-23 14:45:51 +02:00
committed by Braks
parent 4e431a17b6
commit 345cf9bc38
4 changed files with 11 additions and 11 deletions

View File

@@ -63,15 +63,15 @@ export default {
'/guide/vue-flow/state',
{
text: 'Actions',
link: '/typedocs/interfaces/Actions',
link: '/typedocs/interfaces/Actions.html',
},
{
text: 'Getters',
link: '/typedocs/interfaces/Getters',
link: '/typedocs/interfaces/Getters.html',
},
{
text: 'Events',
link: '/typedocs/interfaces/FlowEvents'
link: '/typedocs/interfaces/FlowEvents.html'
},
'/guide/vue-flow/slots'
],

View File

@@ -102,7 +102,7 @@ You can also apply changes (like removing elements safely) using
the [`applyEdgeChanges`](/typedocs/interfaces/Actions.html#applyedgechanges/) utility function, which expects an array
of [changes](/typedocs/types/EdgeChange.html/) to be applied to the currently stored edges.
## [Default Edge-Types](typedocs/types/DefaultEdgeTypes.html/)
## [Default Edge-Types](/typedocs/types/DefaultEdgeTypes.html/)
Vue Flow comes with built-in edges that you can use right out of the box.
These edge types include `default` (bezier), `step`, `smoothstep` and `straight`.

View File

@@ -72,7 +72,7 @@ const nodes = ref<Node[]>([
])
```
### [Using CSS variables](typedocs/types/CSSVars.html/)
### [Using CSS variables](/typedocs/types/CSSVars.html/)
Some theme stylings can be overwritten by using css variables.
These variables can either be applied globally or you can define them on an element basis.

View File

@@ -4,9 +4,9 @@
The old `FlowInstance` has been removed and all it's functionalities merged into `useVueFlow`.
:::
Viewport Functions can be accessed via the [`useVueFlow`](/guide/composables.html#usevueflow/)
Viewport Functions can be accessed via the [`useVueFlow`](/guide/composables.html#usevueflow)
utility or with the [`VueFlowStore`](/typedocs/types/VueFlowStore.html/)
instance provided by [`onPaneReady`](/typedocs/interfaces/FlowEvents.html#paneready/).
instance provided by [`onPaneReady`](/typedocs/interfaces/FlowEvents.html#paneready).
<CodeGroup>
<CodeGroupItem title="Composition API" active>
@@ -130,25 +130,25 @@ vueFlowInstance.setTransform({ x: 100, y: 100, zoom: 1.5 })
Zooms to specific level.
### [getElements](/typedocs/interfaces/Getters.html#getelements/)
### [getElements](/typedocs/interfaces/Getters.html#getelements)
- Details:
Returns currently stored elements (nodes + edges).
### [getNodes](/typedocs/interfaces/Getters.html#getnodes/)
### [getNodes](/typedocs/interfaces/Getters.html#getnodes)
- Details:
Returns currently stored nodes.
### [getEdges](/typedocs/interfaces/Getters.html#getedges/)
### [getEdges](/typedocs/interfaces/Getters.html#getedges)
- Details:
Returns currently stored edges.
### [toObject](/typedocs/interfaces/Actions.html#toobject/)
### [toObject](/typedocs/interfaces/Actions.html#toobject)
- Details: