Skip to content

Feature request: graphical rendering of ICD relationships #68

@edwardchapin

Description

@edwardchapin

It would be nice to add a feature to the icd project that enables one to visualize ICD relationships. This could be part of icdwebserver, or a stand-alone application. Among the types of things that would be good to plot (with options to activate/de-activate);

  • nodes in the graph for all software components (with the ability to include/exclude specific components, entire subsystems, or types of components such as HCDs).
  • option to group components by subsystem, or to allow the graphing software to arrange the nodes based on some other cost function (e.g., minimizing edge crossings).
  • edges in the graph indicating information flow, including events and commands (with options to turn on/off labels).
  • edges in the graph indicating broken links. For example, indicate if an assembly subscribes to an event, but no component in the system actually publishes that event. The same can be done for commands.

As a proof-of-concept, see the following Python script that queries the icd-db MongoDB directly and renders graphs using dot (part of graphviz):
https://github.com/tmtsoftware/NIC/blob/master/script/icdRelationships.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions