ArchUnitTS - v2.2.0
GitHub
NPM
Examples
Preparing search index...
ProjectGraphBuilder
Class ProjectGraphBuilder
Index
Constructors
constructor
Properties
ts
Config
File
Path?
Methods
include
External
Dependencies
include
Self
Dependencies
focus
On
reachable
From
dependents
Of
collapse
To
Folder
Depth
collapse
By
Pattern
titled
with
Check
Options
snapshot
to
DOT
to
Mermaid
to
D2
to
CSV
to
JSON
to
HTML
export
As
DOT
export
As
Mermaid
export
As
D2
export
As
CSV
export
As
JSON
export
As
HTML
Constructors
constructor
new
ProjectGraphBuilder
(
tsConfigFilePath
?:
string
,
options
?:
GraphQueryOptions
,
checkOptions
?:
CheckOptions
,
)
:
ProjectGraphBuilder
Parameters
Optional
tsConfigFilePath
:
string
options
:
GraphQueryOptions
= {}
Optional
checkOptions
:
CheckOptions
Returns
ProjectGraphBuilder
Properties
Optional
Readonly
ts
Config
File
Path
tsConfigFilePath
?:
string
Methods
include
External
Dependencies
includeExternalDependencies
()
:
ProjectGraphBuilder
Returns
ProjectGraphBuilder
include
Self
Dependencies
includeSelfDependencies
()
:
ProjectGraphBuilder
Returns
ProjectGraphBuilder
focus
On
focusOn
(
pattern
:
Pattern
,
depth
?:
number
)
:
ProjectGraphBuilder
Parameters
pattern
:
Pattern
depth
:
number
= 1
Returns
ProjectGraphBuilder
reachable
From
reachableFrom
(
pattern
:
Pattern
)
:
ProjectGraphBuilder
Parameters
pattern
:
Pattern
Returns
ProjectGraphBuilder
dependents
Of
dependentsOf
(
pattern
:
Pattern
)
:
ProjectGraphBuilder
Parameters
pattern
:
Pattern
Returns
ProjectGraphBuilder
collapse
To
Folder
Depth
collapseToFolderDepth
(
depth
:
number
)
:
ProjectGraphBuilder
Parameters
depth
:
number
Returns
ProjectGraphBuilder
collapse
By
Pattern
collapseByPattern
(
pattern
:
RegExp
,
replacement
?:
string
)
:
ProjectGraphBuilder
Parameters
pattern
:
RegExp
replacement
:
string
= '$1'
Returns
ProjectGraphBuilder
titled
titled
(
title
:
string
)
:
ProjectGraphBuilder
Parameters
title
:
string
Returns
ProjectGraphBuilder
with
Check
Options
withCheckOptions
(
checkOptions
:
CheckOptions
)
:
ProjectGraphBuilder
Parameters
checkOptions
:
CheckOptions
Returns
ProjectGraphBuilder
snapshot
snapshot
()
:
Promise
<
GraphReportSnapshot
>
Returns
Promise
<
GraphReportSnapshot
>
to
DOT
toDOT
()
:
Promise
<
string
>
Returns
Promise
<
string
>
to
Mermaid
toMermaid
()
:
Promise
<
string
>
Returns
Promise
<
string
>
to
D2
toD2
()
:
Promise
<
string
>
Returns
Promise
<
string
>
to
CSV
toCSV
()
:
Promise
<
string
>
Returns
Promise
<
string
>
to
JSON
toJSON
()
:
Promise
<
string
>
Returns
Promise
<
string
>
to
HTML
toHTML
()
:
Promise
<
string
>
Returns
Promise
<
string
>
export
As
DOT
exportAsDOT
(
outputPath
:
string
)
:
Promise
<
void
>
Parameters
outputPath
:
string
Returns
Promise
<
void
>
export
As
Mermaid
exportAsMermaid
(
outputPath
:
string
)
:
Promise
<
void
>
Parameters
outputPath
:
string
Returns
Promise
<
void
>
export
As
D2
exportAsD2
(
outputPath
:
string
)
:
Promise
<
void
>
Parameters
outputPath
:
string
Returns
Promise
<
void
>
export
As
CSV
exportAsCSV
(
outputPath
:
string
)
:
Promise
<
void
>
Parameters
outputPath
:
string
Returns
Promise
<
void
>
export
As
JSON
exportAsJSON
(
outputPath
:
string
)
:
Promise
<
void
>
Parameters
outputPath
:
string
Returns
Promise
<
void
>
export
As
HTML
exportAsHTML
(
outputPath
:
string
)
:
Promise
<
void
>
Parameters
outputPath
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
ts
Config
File
Path
Methods
include
External
Dependencies
include
Self
Dependencies
focus
On
reachable
From
dependents
Of
collapse
To
Folder
Depth
collapse
By
Pattern
titled
with
Check
Options
snapshot
to
DOT
to
Mermaid
to
D2
to
CSV
to
JSON
to
HTML
export
As
DOT
export
As
Mermaid
export
As
D2
export
As
CSV
export
As
JSON
export
As
HTML
GitHub
NPM
Examples
ArchUnitTS - v2.2.0
Loading...