diff --git a/docs/docs/components/inputs.mdx b/docs/docs/components/inputs.mdx index de46f3ad7..fe8804e43 100644 --- a/docs/docs/components/inputs.mdx +++ b/docs/docs/components/inputs.mdx @@ -33,7 +33,7 @@ When you get it from the sidebar, it will look like the image below but that is light: "img/chat-input.png", dark: "img/chat-input.png", }} - style={{ width: "50%" }} + style={{ width: "50%", margin: "20px auto" }} /> If you expose all its fields, it will look like the image below. @@ -44,7 +44,7 @@ If you expose all its fields, it will look like the image below. light: "img/chat-input-expanded.png", dark: "img/chat-input-expanded.png", }} - style={{ width: "40%" }} + style={{ width: "40%", margin: "20px auto" }} /> One key capability of the Chat Input component is how it transforms the Interaction Panel into a chat window. This feature is particularly useful for scenarios where user input is required to initiate or influence the flow. @@ -55,7 +55,7 @@ One key capability of the Chat Input component is how it transforms the Interact light: "img/interaction-panel-with-chat-input.png", dark: "img/interaction-panel-with-chat-input.png", }} - style={{ width: "50%" }} + style={{ width: "50%", margin: "20px auto" }} /> --- @@ -83,7 +83,7 @@ Here is how it looks when you get it from the sidebar. light: "img/prompt.png", dark: "img/prompt.png", }} - style={{ width: "50%" }} + style={{ width: "50%", margin: "20px auto" }} /> And here when you add a Template with the value _`Hello {name}, how are you?`_. @@ -94,7 +94,7 @@ And here when you add a Template with the value _`Hello {name}, how are you?`_. light: "img/prompt-with-template.png", dark: "img/prompt-with-template.png", }} - style={{ width: "50%" }} + style={{ width: "50%", margin: "20px auto" }} /> --- @@ -124,7 +124,7 @@ It should look like this when dropped directly from the sidebar. light: "img/text-input.png", dark: "img/text-input.png", }} - style={{ width: "50%" }} + style={{ width: "50%", margin: "20px auto", margin: "20px auto" }} /> And when you expose all its fields, it will look like the image below. @@ -149,7 +149,7 @@ You can use a template like this: _`"Name: {name}, Age: {age}"`_ to convert the light: "img/text-input-expanded.png", dark: "img/text-input-expanded.png", }} - style={{ width: "50%" }} + style={{ width: "50%", margin: "20px auto" }} /> The Text Input component gives you the possibility to add an Input field on the Interaction Panel. This is useful because it allows you to define parameters while running and testing your flow. @@ -160,5 +160,5 @@ The Text Input component gives you the possibility to add an Input field on the light: "img/interaction-panel-text-input.png", dark: "img/interaction-panel-text-input.png", }} - style={{ width: "50%" }} + style={{ width: "50%", margin: "20px auto" }} /> diff --git a/docs/docs/examples/buffer-memory.mdx b/docs/docs/examples/buffer-memory.mdx index 3167081a5..b196f9031 100644 --- a/docs/docs/examples/buffer-memory.mdx +++ b/docs/docs/examples/buffer-memory.mdx @@ -16,6 +16,12 @@ import ZoomableImage from "/src/theme/ZoomableImage.js"; light: "img/buffer-memory.png", dark: "img/buffer-memory.png", }} + style={{ + width: "80%", + margin: "20px auto", + display: "flex", + justifyContent: "center", + }} /> #### Download Flow diff --git a/docs/docs/examples/conversation-chain.mdx b/docs/docs/examples/conversation-chain.mdx index 1cd59ca55..294d1b440 100644 --- a/docs/docs/examples/conversation-chain.mdx +++ b/docs/docs/examples/conversation-chain.mdx @@ -22,6 +22,13 @@ import ZoomableImage from "/src/theme/ZoomableImage.js"; light: "img/basic-chat.png", dark: "img/basic-chat.png", }} + +style={{ + width: "80%", + margin: "20px auto", + display: "flex", + justifyContent: "center", + }} /> #### Download Flow diff --git a/docs/docs/examples/csv-loader.mdx b/docs/docs/examples/csv-loader.mdx index 351e99440..25f3bb444 100644 --- a/docs/docs/examples/csv-loader.mdx +++ b/docs/docs/examples/csv-loader.mdx @@ -34,6 +34,12 @@ import ZoomableImage from "/src/theme/ZoomableImage.js"; light: "img/csv-loader.png", dark: "img/csv-loader.png", }} + style={{ + width: "80%", + margin: "20px auto", + display: "flex", + justifyContent: "center", + }} /> #### Download Flow diff --git a/docs/docs/examples/flow-runner.mdx b/docs/docs/examples/flow-runner.mdx index 38466e4b3..8a07adb0a 100644 --- a/docs/docs/examples/flow-runner.mdx +++ b/docs/docs/examples/flow-runner.mdx @@ -3,7 +3,6 @@ description: Custom Components hide_table_of_contents: true --- - # FlowRunner Component The CustomComponent class allows us to create components that interact with Langflow itself. In this example, we will make a component that runs other flows available in "My Collection". @@ -16,7 +15,7 @@ The CustomComponent class allows us to create components that interact with Lang }} style={{ width: "30%", - margin: "0 auto", + margin: "20px auto", display: "flex", justifyContent: "center", }} @@ -367,4 +366,3 @@ Done! This is what our script and custom component looks like: import ZoomableImage from "/src/theme/ZoomableImage.js"; import Admonition from "@theme/Admonition"; - diff --git a/docs/docs/examples/python-function.mdx b/docs/docs/examples/python-function.mdx index 9eadd7273..2bb4b93e1 100644 --- a/docs/docs/examples/python-function.mdx +++ b/docs/docs/examples/python-function.mdx @@ -43,6 +43,12 @@ import ZoomableImage from "/src/theme/ZoomableImage.js"; light: "img/python-function.png", dark: "img/python-function.png", }} + style={{ + width: "80%", + margin: "20px auto", + display: "flex", + justifyContent: "center", + }} /> #### Download Flow diff --git a/docs/docs/examples/serp-api-tool.mdx b/docs/docs/examples/serp-api-tool.mdx index 7e8d95936..175b6f1be 100644 --- a/docs/docs/examples/serp-api-tool.mdx +++ b/docs/docs/examples/serp-api-tool.mdx @@ -37,6 +37,12 @@ import ZoomableImage from "/src/theme/ZoomableImage.js"; light: "img/serp-api-tool.png", dark: "img/serp-api-tool.png", }} + style={{ + width: "80%", + margin: "20px auto", + display: "flex", + justifyContent: "center", + }} /> #### Download Flow diff --git a/docs/docs/getting-started/creating-flows.mdx b/docs/docs/getting-started/creating-flows.mdx index 9c16d225f..585117881 100644 --- a/docs/docs/getting-started/creating-flows.mdx +++ b/docs/docs/getting-started/creating-flows.mdx @@ -14,7 +14,13 @@ Langflow provides a range of Components to choose from, including **Chat Input** alt="Docusaurus themed image" sources={{ light: "img/langflow_canvas.png", - dark: "img/langflow_canvas.png" + dark: "img/langflow_canvas.png", + }} + style={{ + width: "70%", + margin: "20px auto", + display: "flex", + justifyContent: "center", }} /> @@ -42,8 +48,6 @@ The **Outputs** components define the outputs of the flow and work similarly to Both Inputs and Outputs components can be connected to other components on the canvas and are used to define how the API works too. - -