docs(site): add baisc example

This commit is contained in:
moklick
2020-10-06 11:38:29 +02:00
parent 2fd2e2d2b7
commit c469957c58
4 changed files with 91 additions and 12 deletions
+1 -3
View File
@@ -149,9 +149,7 @@ const Home = () => {
<Paragraph my={3} color={baseColors.textLight}>
A flow consists of nodes and edges (or just nodes). Together we call
them elements. You can pass a set of elements as a prop to the
ReactFlow component. Hereby all elements need unique ids. A node
needs a position and a label and an edge needs a source (node id)
and a target (node id). This is the most basic for a flow. A simple
ReactFlow component. This is the most basic for a flow. A simple
flow could look like this:
</Paragraph>
<CodeBlock