Methods
FileTree(files, onFileSelect)
FileTree component to display a file structure in a tree format.
This component takes a list of files and folders and renders them
as a navigable tree structure using the Geist UI Tree component.
Parameters:
| Name | Type | Description |
|---|---|---|
files |
Array.<Object> | Array of file and folder objects to be displayed in the tree. |
onFileSelect |
function | Callback function to handle the selection of a file. |
- Source:
OptionsComponent()
OptionsComponent to display graphical options for diagram generation.
This component provides a series of dropdown menus allowing users to customize
various aspects of the generated diagrams, such as node shape, color, and graph layout.
- Source:
Server()
Server component handling the main logic of the PlantOML app.
This component manages the state and interactions for file uploading, selecting,
editing, submitting, and downloading in the PlantOML application.
Sidebar()
Sidebar component for navigation within the application.
This component renders a vertical navigation bar with links to different
sections of the application, each represented by an icon.
- Source: