Q.How does AI generate diagrams from text?
A.Our AI agent uses advanced language models to understand your natural language descriptions and converts them into structured D2 diagram code. The AI analyzes your requirements, identifies components and relationships, then generates clean D2 code that represents your architecture visually.
Q.What is D2 and why do you use it?
A.D2 (Declarative Diagramming) is a modern diagram-as-code language that's perfect for AI generation. We chose D2 because it has simple, intuitive syntax that's easy for AI to generate, powerful automatic layout engines that handle positioning and alignment, flexible styling and theming options, and integrations with popular tools like Confluence, Obsidian, and many developer workflows.
Q.Can I edit the generated diagrams?
A.Absolutely! You can switch to code view to see and edit the underlying D2 code directly, or simply chat with the AI to request changes in natural language. The AI understands context and can modify existing diagrams based on your feedback, making iterative improvements easy.
Q.What types of diagrams can I create?
A.You can create any type of software architecture diagram including system architecture, microservices, database schemas, network diagrams, flowcharts, sequence diagrams, and more. The AI is trained to understand various architectural patterns and can generate appropriate visual representations.
Q.Do I need to learn D2 syntax?
A.Not at all! The AI handles all the D2 code generation for you. You just describe what you want in plain English. However, if you want to make manual tweaks, D2's syntax is very readable and easy to learn. You can reference the D2 documentation for advanced customizations.
Q.How does this compare to traditional diagramming tools?
A.Traditional tools require manual drag-and-drop, complex UI navigation, and design skills. Our AI approach lets you focus on the architecture itself rather than tool mechanics. You get professional-looking diagrams instantly, with automatic layout and styling, plus the ability to iterate through conversation rather than manual editing.
Q.How are credits calculated?
A.Credits are based on AI token usage. Currently, 1,000 tokens equal 1 credit. This may change in the future based on AI model costs and improvements.
Q.How can I check my credit balance?
A.You can view your AI credit usage and remaining balance transparently in your account dashboard at any time.
Q.When do AI credits reset?
A.AI credits automatically reset monthly on your billing cycle date. For example, if you started on the 15th, your credits reset on the 15th of each month.
Q.What happens if I use all my credits?
A.Currently, you'll need to wait for your credits to reset at the end of your billing cycle. We're working on adding the option to purchase additional credits for immediate use.