docs(guide): update node page

This commit is contained in:
braks
2023-11-05 18:43:33 +01:00
committed by Braks
parent d0161fd417
commit 162885199f
2 changed files with 537 additions and 252 deletions
+3 -5
View File
@@ -37,12 +37,10 @@ $ yarn add @vue-flow/core
## Usage
In Vue Flow, an application structure consists
of [<span class="font-bold">nodes</span>](/typedocs/interfaces/Node)
and [<span class="font-bold">edges</span>](/typedocs/types/Edge), all of which are categorised as
[<span class="font-bold">elements</span>](/typedocs/types/Elements).
In Vue Flow, an application structure consists of [**nodes**](/typedocs/interfaces/Node)
and [**edges**](/typedocs/types/Edge), all of which are categorised as [**elements**](/typedocs/types/Elements).
<span class="font-bold">Each element requires a unique id.</span>
**Each element requires a unique id.**
Nodes additionally need an [XY-position](/typedocs/interfaces/XYPosition), while edges require a source and a
target, both represented by node ids.