Automatic Documentation Generation for Statechart Diagrams

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Statecharts, which allow for multiple states to be concurrently active, can become complex and difficult to understand, necessitating a method for generating documentation that automatically describes their functionality, transitions, and configuration properties without manual user input.

Innovation Solution

A system and method for automatically generating user documentation for diagrams with states and transitions, including analyzing information for each state and transition to create markup files, images, and content files, which can be configured and provided over a network or displayed, using a computer system with program instructions stored on a memory medium.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If statecharts are used to allow multiple states to be concurrently active, then the functionality and expressiveness of the diagram is improved, but the complexity and difficulty of understanding the diagram increases

Engineering Contradiction:
ImprovefunctionalityVSAvoidcomplexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces an automatic documentation generation system that acts as an intermediary between the complex statechart and the user. The system generates comprehensive documentation including state descriptions, transition explanations, and configuration properties, making the complex statechart understandable without requiring users to directly interpret its complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a textual copy or representation of the visual statechart in the form of automatically generated documentation. This documentation copy includes detailed descriptions of states, transitions, and configuration properties, allowing users to understand the statechart through text rather than having to directly analyze the complex visual diagram.

Inventive Principle:
Principle #26Copying

2Measurement precision

If statecharts become more complex to represent real-world systems, then the measurement precision of system behavior is improved, but the ease of operation and understanding deteriorates

Engineering Contradiction:
Improvemeasurement precisionVSAvoidease of operation
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The automatic documentation generation system serves as an intermediary that translates the precise but complex statechart notation into human-readable documentation. This documentation maintains the measurement precision of the original statechart while presenting the information in an easier-to-understand format with detailed descriptions of states, transitions, and configuration properties.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary action by automatically generating comprehensive documentation before users need to understand or operate with the statechart. This pre-generated documentation includes all necessary information about states, transitions, and configuration properties, preparing users in advance and reducing the cognitive load when they need to work with the complex statechart.

Inventive Principle:
Principle #10Preliminary action

3Manufacturing precision

If manual documentation is created for statecharts, then the completeness and accuracy of documentation is improved, but the productivity and time consumption deteriorates

Engineering Contradiction:
ImprovecompletenessVSAvoidproductivity
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent implements self-service by enabling the statechart documentation to generate itself automatically. The system extracts information directly from the statechart elements (states, transitions, configuration properties) and produces comprehensive documentation without requiring manual intervention. This maintains completeness while dramatically improving productivity by eliminating manual documentation efforts.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system creates an automatic textual copy of the statechart information by parsing and analyzing the diagram elements. This copying process extracts state descriptions, transition details, and configuration properties directly from the statechart structure, producing accurate and complete documentation automatically without manual transcription or description.

Inventive Principle:
Principle #26Copying

4Loss of information

If detailed documentation is generated for each state and transition, then the loss of information is reduced, but the device complexity and processing requirements increase

Engineering Contradiction:
Improveloss of informationVSAvoiddevice complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The system uses self-service by automatically analyzing the statechart structure and extracting all relevant information elements. It identifies states, transitions, configuration properties, and relationships without manual input, ensuring minimal information loss. The generated documentation comprehensively covers all aspects of the statechart while the automation reduces the complexity burden on users.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9047168B2Automatically generating documentation for a diagram including a plurality of states and transitions
Publication Date: 2015.06.02 NATIONAL INSTRUMENTS CORP
  • US9047168B2 patent drawing
  • US9047168B2 patent drawing
  • US9047168B2 patent drawing

AI summary

System and method for generating documentation for a diagram including states and transitions. The diagram may be received or otherwise stored and may specify a plurality of states and a plurality of transitions between the states. The first diagram also specifies first functionality. User documentation may be automatically generated for the first diagram based on the first diagram. The user documentation may describe the first diagram, e.g., the plurality of states and the plurality of transitions of the first diagram. Automatic generation of the user documentation may be performed without manual user input specifying the user documentation. The user documentation may be displayed on a display and/or stored in a memory medium.