-
Notifications
You must be signed in to change notification settings - Fork 16
/
www.mermaidchart.com.json
18 lines (18 loc) · 5.02 KB
/
www.mermaidchart.com.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"schema_version": "v1",
"name_for_human": "Mermaid Chart",
"name_for_model": "MermaidChart",
"description_for_human": "Visualize Mermaid Diagrams and fine-tune them in the Mermaid Chart editor.",
"description_for_model": "Use this functionality to make diagrams when users ask for diagrams or when answering a question where the answer would benefit from a visual representation.\nHere are some examples of user requests where this functionality would be appropriate to use:\n- \"Explain the process of photosynthesis.\"\n- \"display the steps to create a website.\"\n- \"Draw a diagram of ... .\"\n- \"Visualize how ... works.\"\n- \"How does a computer work?\"\n\n# Syntax examples for newer diagrams you don't know how to create yet\n\n## Timeline\n\nA timeline is a type of diagram used to illustrate a chronology of events, dates, or periods of time. It is usually presented graphically to indicate the passing of time, and it is usually organized chronologically. A basic timeline presents a list of events in chronological order, usually using dates as markers.\n\n```mermaid\ntimeline\n title History of Social Media Platform\n 2002 : LinkedIn\n 2004 : Facebook\n : Google\n 2005 : Youtube\n 2006 : Twitter\n```\n\n## Mind map\n\nA mind map is a diagram used to visually organize information into a hierarchy, showing relationships among pieces of the whole. It is often created around a single concept, drawn as an image in the center of a blank page, to which associated representations of ideas such as images, words and parts of words are added. Note that the level in the The syntax for creating Mindmaps is simple and relies on indentation for setting the levels in the hierarchy.\nA higher indentation then the previous row indicates that the item is a child of the previous item.\n\nImportant regarding the syntax for mermaid mind map code:\n- It is critical to indent the rows mindmap. Without indentation the rendering of the mindmap will fail!\n- There can only be one root element in a mindmap.\n- The root element is the element with the least indentation.\n- If there are two root elements the rendering will fail.\n- There can be noi - signs in the labels of the mindmap.\n\nIn the following example, look at the indentation of the rows in the diagram code. Root has the least indentation and the children of root has more space character in the start of the row giving a higher indentation resulting in the place in the hierarchy.\n{ \"mermaidCode\": \"mindmap\n root((mindmap))\n origin(Origins)\n long(Long history)\n Popularisation\n British popular psychology author Tony Buzan\n Research\n On effectiveness<br/>and features\n On Automatic creation\n Uses\n Creative techniques\n Strategic planning\n Argument mapping\n\"}\n\nWhen generating mind maps take extra care with the indentation in the beginning of the rows as this is used to determine the hierarchy of the mindmap. There can only be one element with the least indentation level otherwise the rendering will fail.\n\nAnother mindmap example:\n{ \"mermaidCode\": \"mindmap\n root)A single root) id(A shape in the form of a rounded square)\n id((A shape in the form of a circle))\n id))A shape in the form of a bang((\n id)A shape in the form of a cloud(\n\"}\n\n\n## Example of a quadrant chart\n\nA quadrant chart is a visual representation of data that is divided into four quadrants. It is used to plot data points on a two-dimensional grid, with one variable represented on the x-axis and another variable represented on the y-axis. The quadrants are determined by dividing the chart into four equal parts based on a set of criteria that is specific to the data being analyzed.\n\nHere is an example of a mermaid quadrant chart:\n\n{ \"mermaidCode\": \"quadrantChart\n title Reach and engagement of campaigns\n x-axis Low Reach --> High Reach\n y-axis Low Engagement --> High Engagement\n quadrant-1 We should expand\n quadrant-2 Need to promote\n quadrant-3 Re-evaluate\n quadrant-4 May be improved\n Campaign A: [0.3, 0.6]\n Campaign B: [0.45, 0.23]\n Campaign C: [0.57, 0.69]\n Campaign D: [0.78, 0.34]\n Campaign E: [0.40, 0.34]\n Campaign F: [0.35, 0.78]\"}\n\n# What to do with the response\n\n- When you get the response it will include an diagram url, \"diagramUrl\", render it inline using ![alt text](image) syntax.\n- Inform the user that they can edit and **save** the diagram online using mermaid chart editor, \"linkToMermaidChartEditor\", render it inline using [link text](link) syntax.\n- You should create the response in that order: first the image, then suggestion to edit using works, then the edit link, then the textual explanation.\n\n",
"auth": {
"type": "none"
},
"api": {
"type": "openapi",
"url": "https://www.mermaidchart.com/chatgpt/openapi.json",
"is_user_authenticated": false
},
"logo_url": "https://www.mermaidchart.com/img/icon-logo.svg",
"contact_email": "hello@mermaidchart.com",
"legal_info_url": "https://www.mermaidchart.com/terms-and-conditions"
}