switch to plantuml
This commit is contained in:
@@ -36,7 +36,7 @@ const initialNodes: Node[] = [
|
||||
{
|
||||
id: 'config-1',
|
||||
position: { x: 50, y: 50 },
|
||||
data: { yaml: "# example:\nmessage: Hello from config" },
|
||||
data: { plantuml: '@startuml\nactor User\nparticipant "Render" as R\nUser -> R : config\n@enduml\n' },
|
||||
type: 'config',
|
||||
},
|
||||
{
|
||||
@@ -116,7 +116,7 @@ export default function App() {
|
||||
function: 'function',
|
||||
}
|
||||
const dataMap: Record<string, any> = {
|
||||
config: { yaml: '# Enter YAML here\n', title: `config-${id}` },
|
||||
config: { plantuml: '@startuml\n\n@enduml\n', title: `config-${id}` },
|
||||
render: {},
|
||||
variable: { value: '', valueType: 'string' },
|
||||
function: { body: '// args[0], args[1], ...\nreturn args[0];' },
|
||||
|
||||
Reference in New Issue
Block a user