from
public static IjModuleGraph from(ProjectFilesystem projectFilesystem,
IjProjectConfig projectConfig,
TargetGraph targetGraph,
IjLibraryFactory libraryFactory,
IjModuleFactory moduleFactory,
AggregationModuleFactory aggregationModuleFactory)
- Parameters:
projectConfig - the project config used
targetGraph - input graph.
libraryFactory - library factory.
moduleFactory - module factory.
- Returns:
- module graph corresponding to the supplied
TargetGraph. Multiple targets from
the same base path are mapped to a single module, therefore an IjModuleGraph edge exists
between two modules (Ma, Mb) if a TargetGraph edge existed between a pair of nodes (Ta, Tb)
and Ma contains Ta and Mb contains Tb.