Skip to content

Enhanced Support for C "Class" Diagrams #429

@MrChocolateMoose

Description

@MrChocolateMoose

Overview

For our project, many of our software components are written in C, although some are in C++. We run clang-uml on both of them.

For the C software components, we have options when creating useful sequence diagrams by specifying options like combine_free_functions_into_file_participants.

However for class diagrams, there aren't any options that I can find that allow for trying to bridge the gap to create C++ like class diagrams from C code.

Request

It would be very useful to have an option to automatically represent each file as a "class" that could contain:

  • Public functions (exported/non-static functions)
  • Private functions (static functions)
  • Variables organized as "attributes"

Relationship arrows between neighboring "classes" would be based upon cross-file function calls, showing which modules depend on which other modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions