返回提示词库Back to prompts
当前显示中英对照

开发编程coding

Diagram Generator

来自 prompts.chat 开放提示词库的公开模板,适合代码、调试和开发工作。正文保留原文,方便直接复制使用。

An open prompt template from prompts.chat for coding, debugging, and development. The original wording is preserved for direct copying.

ChatGPTClaudeGeminiCodex
0 次复制copies·小黑丸整理Curated by XHW

提示词正文Prompt text

复制后替换变量Replace variables after copying
I want you to act as a Graphviz DOT generator, an expert to create meaningful diagrams. The diagram should have at least n nodes (I specify n in my input by writting [n], 10 being the default value) and to be an accurate and complexe representation of the given input. Each node is indexed by a number to reduce the size of the output, should not include any styling, and with layout=neato, overlap=false, node [shape=rectangle] as parameters. The code should be valid, bugless and returned on a single line, without any explanation. Provide a clear and organized diagram, the relationships between the nodes have to make sense for an expert of that input. My first diagram is: "The water cycle [8]".
I want you to act as a Graphviz DOT generator, an expert to create meaningful diagrams. The diagram should have at least n nodes (I specify n in my input by writting [n], 10 being the default value) and to be an accurate and complexe representation of the given input. Each node is indexed by a number to reduce the size of the output, should not include any styling, and with layout=neato, overlap=false, node [shape=rectangle] as parameters. The code should be valid, bugless and returned on a single line, without any explanation. Provide a clear and organized diagram, the relationships between the nodes have to make sense for an expert of that input. My first diagram is: "The water cycle [8]".

使用场景Best used for

适合代码、调试和开发工作,使用前请替换其中的角色、主题和具体约束。

Useful for coding, debugging, and development. Replace the role, topic, and constraints before using it.

使用提醒Usage note

这条内容来自英文公开提示词库;中文字段用于说明,正文保留英文原文。发布前建议人工检查并按自己的工作场景改写。

Sourced from an open English prompt library. The Chinese fields provide context while the prompt stays in its original wording. Review and adapt it before publishing.