← All tool references

Productivity · not_available

Flowchart Maker

Calculate flowchart svg from node id | label | type, from | to | label.

Open public tool

Overview

Category
Productivity
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/flowchart-maker

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/flowchart-maker/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

nodes · string · required
Enter node id | label | type.
edges · string · required
Enter from | to | label.
{
    "type": "object",
    "properties": {
        "nodes": {
            "type": "string",
            "description": "Enter node id | label | type."
        },
        "edges": {
            "type": "string",
            "description": "Enter from | to | label."
        }
    },
    "required": [
        "nodes",
        "edges"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

svg · string
Flowchart SVG produced by the tool.
nodes · array
Nodes produced by the tool.
edges · array
Edges produced by the tool.
diagnostics · array
Diagnostics produced by the tool.
{
    "type": "object",
    "properties": {
        "svg": {
            "type": "string",
            "description": "Flowchart SVG produced by the tool."
        },
        "nodes": {
            "type": "array",
            "description": "Nodes produced by the tool."
        },
        "edges": {
            "type": "array",
            "description": "Edges produced by the tool."
        },
        "diagnostics": {
            "type": "array",
            "description": "Diagnostics produced by the tool."
        }
    },
    "additionalProperties": false
}

Flowchart Maker worked example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/flowchart-maker/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "nodes": "start|Start|terminal\ninput|Collect input|process\ndecide|Valid?|decision\nresult|Show result|terminal",
    "edges": "start|input|\ninput|decide|\ndecide|result|Yes"
}'
{
    "ok": true,
    "data": {
        "slug": "flowchart-maker",
        "result": {
            "values": {
                "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 520 500\"><path d=\"M260 110V160\"/><text x=\"270\" y=\"135\"></text><path d=\"M260 220V270\"/><text x=\"270\" y=\"245\"></text><path d=\"M260 330V380\"/><text x=\"270\" y=\"355\">Yes</text><g><rect x=\"150\" y=\"50\" width=\"220\" height=\"60\" rx=\"30\"/><text x=\"260\" y=\"85\" text-anchor=\"middle\">Start</text></g><g><rect x=\"150\" y=\"160\" width=\"220\" height=\"60\" rx=\"8\"/><text x=\"260\" y=\"195\" text-anchor=\"middle\">Collect input</text></g><g><rect x=\"150\" y=\"270\" width=\"220\" height=\"60\" rx=\"8\"/><text x=\"260\" y=\"305\" text-anchor=\"middle\">Valid?</text></g><g><rect x=\"150\" y=\"380\" width=\"220\" height=\"60\" rx=\"30\"/><text x=\"260\" y=\"415\" text-anchor=\"middle\">Show result</text></g></svg>",
                "nodes": [
                    {
                        "id": "start",
                        "label": "Start",
                        "type": "terminal",
                        "x": 260,
                        "y": 50
                    },
                    {
                        "id": "input",
                        "label": "Collect input",
                        "type": "process",
                        "x": 260,
                        "y": 160
                    },
                    {
                        "id": "decide",
                        "label": "Valid?",
                        "type": "decision",
                        "x": 260,
                        "y": 270
                    },
                    {
                        "id": "result",
                        "label": "Show result",
                        "type": "terminal",
                        "x": 260,
                        "y": 380
                    }
                ],
                "edges": [
                    {
                        "from": "start",
                        "to": "input",
                        "label": ""
                    },
                    {
                        "from": "input",
                        "to": "decide",
                        "label": ""
                    },
                    {
                        "from": "decide",
                        "to": "result",
                        "label": "Yes"
                    }
                ],
                "diagnostics": []
            },
            "display": {
                "display": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 520 500\"><path d=\"M260 110V160\"/><text x=\"270\" y=\"135\"></text><path d=\"M260 220V270\"/><text x=\"270\" y=\"245\"></text><path d=\"M260 330V380\"/><text x=\"270\" y=\"355\">Yes</text><g><rect x=\"150\" y=\"50\" width=\"220\" height=\"60\" rx=\"30\"/><text x=\"260\" y=\"85\" text-anchor=\"middle\">Start</text></g><g><rect x=\"150\" y=\"160\" width=\"220\" height=\"60\" rx=\"8\"/><text x=\"260\" y=\"195\" text-anchor=\"middle\">Collect input</text></g><g><rect x=\"150\" y=\"270\" width=\"220\" height=\"60\" rx=\"8\"/><text x=\"260\" y=\"305\" text-anchor=\"middle\">Valid?</text></g><g><rect x=\"150\" y=\"380\" width=\"220\" height=\"60\" rx=\"30\"/><text x=\"260\" y=\"415\" text-anchor=\"middle\">Show result</text></g></svg>"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.