Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

graphviz: project-package relationship graph #1588

Merged
merged 2 commits into from
Jul 20, 2018

Commits on Jul 17, 2018

  1. graphviz: project-package relation graph

    This change introduces "clusters", which are projects with multiple
    subpackages. Clusters are created using "subgraph" in dot syntax.
    
    To create a project-package relationship graph, nodes and
    subgraphs are created first. Nodes are created when a project has a
    single package and that's the root package. A subgraph/cluster is
    created when a project has multiple subpackages.
    
    createSubgraph(project, packages) takes a project name and its packages
    and creates nodes or subgraphs/clusters based on the packages.
    
    Once all the nodes and subgraphs are created, a target project can be
    passed to output(project) to generate a dot output with all the nodes and
    subgraphs related to the target project.
    
    Following relation scenarios have been covered:
    1. edge from a node within a cluster to a target cluster
    2. edge from a node within a cluster to a single node
    3. edge from a cluster to a target cluster
    4. edge from a cluster to a target single node
    5. edge from a cluster to a node within a cluster
    darkowlzz committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    0c7f4fa View commit details
    Browse the repository at this point in the history
  2. Add to changelog

    darkowlzz committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    b2fba4a View commit details
    Browse the repository at this point in the history