What problem does it solve?
When designing or reviewing new OpenHarmony interfaces, it’s hard to quickly visualize how client calls traverse IPC layers and reach the final target classes, which slows down alignment and increases design mistakes.
Core Features & Use Cases
- PlantUML sequence diagram generation: Produces a clear end-to-end call flow (client → interface → IPC → service thread → target execution) in a structured diagram.
- PlantUML class diagram generation: Builds a relationship map between client/service/static layers and the relevant IPC connection and agent components.
- Reference-based diagram construction: Uses an existing similar interface implementation to infer the call chain and generate accurate UML for the new interface.
Typical Use Case: You introduce a new API method and want stakeholders to understand the IPC and thread execution path without manually drawing diagrams from scratch.
Quick Start
Ask the AI to generate UML for your new interface by providing the interface name(s), parameter/return types, a similar reference interface in the codebase, the ultimately called target class, and the output directory.