docs: fix links for docsearch

This commit is contained in:
bcakmakoglu
2022-06-23 19:13:50 +02:00
committed by Braks
parent 4e431a17b6
commit 345cf9bc38
4 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -63,15 +63,15 @@ export default {
'/guide/vue-flow/state', '/guide/vue-flow/state',
{ {
text: 'Actions', text: 'Actions',
link: '/typedocs/interfaces/Actions', link: '/typedocs/interfaces/Actions.html',
}, },
{ {
text: 'Getters', text: 'Getters',
link: '/typedocs/interfaces/Getters', link: '/typedocs/interfaces/Getters.html',
}, },
{ {
text: 'Events', text: 'Events',
link: '/typedocs/interfaces/FlowEvents' link: '/typedocs/interfaces/FlowEvents.html'
}, },
'/guide/vue-flow/slots' '/guide/vue-flow/slots'
], ],
+1 -1
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 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. 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. 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`. These edge types include `default` (bezier), `step`, `smoothstep` and `straight`.
+1 -1
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. 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. These variables can either be applied globally or you can define them on an element basis.
+6 -6
View File
@@ -4,9 +4,9 @@
The old `FlowInstance` has been removed and all it's functionalities merged into `useVueFlow`. 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/) 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> <CodeGroup>
<CodeGroupItem title="Composition API" active> <CodeGroupItem title="Composition API" active>
@@ -130,25 +130,25 @@ vueFlowInstance.setTransform({ x: 100, y: 100, zoom: 1.5 })
Zooms to specific level. Zooms to specific level.
### [getElements](/typedocs/interfaces/Getters.html#getelements/) ### [getElements](/typedocs/interfaces/Getters.html#getelements)
- Details: - Details:
Returns currently stored elements (nodes + edges). Returns currently stored elements (nodes + edges).
### [getNodes](/typedocs/interfaces/Getters.html#getnodes/) ### [getNodes](/typedocs/interfaces/Getters.html#getnodes)
- Details: - Details:
Returns currently stored nodes. Returns currently stored nodes.
### [getEdges](/typedocs/interfaces/Getters.html#getedges/) ### [getEdges](/typedocs/interfaces/Getters.html#getedges)
- Details: - Details:
Returns currently stored edges. Returns currently stored edges.
### [toObject](/typedocs/interfaces/Actions.html#toobject/) ### [toObject](/typedocs/interfaces/Actions.html#toobject)
- Details: - Details: