(This icon was generated by DALL-E-3)
Dify DSL Flowchart Export
Convert dify app dsl to mermaid flowchart
Usage
- Install it
- Setup a endpoint
- set the endpoint name
- input your Dify access token
- choose your Dify app flow
- choose the direction of the flowchart
- input your dify console api domain (default:cloud.dify.ai)
- Access the endpoint
How to get the access token
By using Dify login console api
- api_url: {your_dify_domain}/console/api/login
- body:
By using browser login
Especially with Google/GitHub account login
- Access the login page of your dify
- Choose the google/github auth
- Login with your google/github account
- Focus on the URL changes during the
- The access url(like under) includding your access_token will appear for a moment
※If you have any other way to get the access token, we would appreciate it if you could share it in the GitHub issue.
About Dify access token
- We only use it to access the Dify app flow DSL.
- We do not save the data from the DSL, but only use it to make the flowchart.
- The access token might need to be re-acquired if it has expired.