docs: fix dead links

This commit is contained in:
braks
2022-08-01 21:10:14 +02:00
committed by Braks
parent f2b169145c
commit af78b52233
16 changed files with 165 additions and 165 deletions
+15 -15
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)
utility or with the [`VueFlowStore`](/typedocs/types/VueFlowStore.html/)
instance provided by [`onPaneReady`](/typedocs/interfaces/FlowEvents.html#paneready).
Viewport Functions can be accessed via the [`useVueFlow`](/guide/composables#usevueflow)
utility or with the [`VueFlowStore`](/typedocs/types/VueFlowStore)
instance provided by [`onPaneReady`](/typedocs/interfaces/FlowEvents#paneready).
<CodeGroup>
<CodeGroupItem title="Composition API" active>
@@ -54,7 +54,7 @@ export default defineComponent({
</CodeGroupItem>
</CodeGroup>
### [project](/typedocs/types/Project.html/)
### [project](/typedocs/types/Project)
- Details:
@@ -68,7 +68,7 @@ export default defineComponent({
vueFlowInstance.project({ x: 100, y: 100 })
```
### [fitView](/typedocs/types/FitView.html/)
### [fitView](/typedocs/types/FitView)
- Details:
@@ -82,7 +82,7 @@ vueFlowInstance.project({ x: 100, y: 100 })
vueFlowInstance.fitView({ padding: 0.25, includeHiddenNodes: true })
```
### [fitBounds](/typedocs/types/FitBounds.html/)
### [fitBounds](/typedocs/types/FitBounds)
- Details:
@@ -94,7 +94,7 @@ vueFlowInstance.fitView({ padding: 0.25, includeHiddenNodes: true })
vueFlowInstance.fitBounds(getRectOfNodes(nodes.value))
```
### [setTransform](/typedocs/types/SetTransform.html/)
### [setTransform](/typedocs/types/SetTransform)
- Details:
@@ -106,49 +106,49 @@ vueFlowInstance.fitBounds(getRectOfNodes(nodes.value))
vueFlowInstance.setTransform({ x: 100, y: 100, zoom: 1.5 })
```
### [getTransform](/typedocs/types/GetTransform.html/)
### [getTransform](/typedocs/types/GetTransform)
- Details:
Gets position and zoom of the pane.
### [zoomIn](/typedocs/types/ZoomInOut.html/)
### [zoomIn](/typedocs/types/ZoomInOut)
- Details:
Zooms in.
### [zoomOut](/typedocs/types/ZoomInOut.html/)
### [zoomOut](/typedocs/types/ZoomInOut)
- Details:
Zooms out.
### [zoomTo](/typedocs/types/ZoomTo.html/)
### [zoomTo](/typedocs/types/ZoomTo)
- Details:
Zooms to specific level.
### [getElements](/typedocs/interfaces/Getters.html#getelements)
### [getElements](/typedocs/interfaces/Getters#getelements)
- Details:
Returns currently stored elements (nodes + edges).
### [getNodes](/typedocs/interfaces/Getters.html#getnodes)
### [getNodes](/typedocs/interfaces/Getters#getnodes)
- Details:
Returns currently stored nodes.
### [getEdges](/typedocs/interfaces/Getters.html#getedges)
### [getEdges](/typedocs/interfaces/Getters#getedges)
- Details:
Returns currently stored edges.
### [toObject](/typedocs/interfaces/Actions.html#toobject)
### [toObject](/typedocs/interfaces/Actions#toobject)
- Details: