Files
2026-07-13 12:35:03 +08:00

4.6 KiB

Data Flow Diagram: {diagram_name}

Template Origin: Official | ArcKit Version: [VERSION] | Command: /arckit:dfd

Document Control

Revision History

Version Date Author Changes Approved By Approval Date
[VERSION] [DATE] ArcKit AI Initial creation from /arckit:dfd command PENDING PENDING

Yourdon-DeMarco Notation Key

Symbol Shape Description
External Entity Rectangle Source or sink of data outside the system boundary
Process Circle Transforms incoming data flows into outgoing data flows
Data Store Open-ended rectangle (parallel lines) Repository of data at rest
Data Flow Named arrow Data in motion between components

Context Diagram (Level 0)

data-flow-diagram Format

Render with: pip install data-flow-diagram then dfd < file.dfd (produces SVG/PNG with true Yourdon-DeMarco notation)

{dfd_context_code}

Mermaid Format

View at mermaid.live or in GitHub/VS Code markdown preview.

{mermaid_context_code}

Level 1 DFD

data-flow-diagram Format

{dfd_level1_code}

Mermaid Format

{mermaid_level1_code}

Process Specifications

Process ID Name Inputs Outputs Logic Summary Req. Trace
{process_id} {name} {inputs} {outputs} {logic} {req_ids}

Data Store Descriptions

Store ID Name Contents Access Pattern Retention Contains PII
{store_id} {name} {contents} {access} {retention} {pii}

Data Dictionary

Data Flow Composition Source Destination Format
{flow_name} {fields} {source} {dest} {format}

Requirements Traceability

DFD Element Element Type Requirement ID Requirement Description Coverage
{element} {Process/Store/Flow/Entity} {req_id} {description} {status}

Coverage Summary:

  • Total Requirements Mapped: {total}
  • Fully Covered: {covered}
  • Partially Covered: {partial}
  • Not Covered: {not_covered}

DFD Balancing Check

Level 0 Boundary Flow Direction Present at Level 1? Notes
{flow_name} In / Out Yes / No {notes}

Balancing Status: {All flows balanced / Discrepancies found}


Rendering Tools

Tool Type Yourdon-DeMarco How to Use
data-flow-diagram CLI (Python) True notation pip install data-flow-diagram then dfd < file.dfd
Mermaid Text-to-diagram Approximate Paste into mermaid.live or view in GitHub
draw.io Online editor True notation Open app.diagrams.net, enable "Data Flow Diagrams" shapes
Visual Paradigm Online editor True notation online.visual-paradigm.com

Linked Artifacts

Requirements: {path_to_requirements} Data Model: {path_to_data_model} Architecture Diagrams: {path_to_diagrams} Architecture Principles: {path_to_principles}

External References

This section provides traceability from generated content back to source documents. Follow citation instructions in the project's citation reference guide.

Document Register

Doc ID Filename Type Source Location Description
None provided

Citations

Citation ID Doc ID Page/Section Category Quoted Passage

Unreferenced Documents

Filename Source Location Reason

Generated by: ArcKit /arckit:dfd command Generated on: [DATE] ArcKit Version: [VERSION] Project: [PROJECT_NAME] Model: [AI_MODEL]