Class ProjectMermaidGraphBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.mermaid.MermaidGraphBuilderBase
org.odpi.openmetadata.commonservices.mermaid.ProjectMermaidGraphBuilder
- Direct Known Subclasses:
ProjectGraphMermaidGraphBuilder
ProjectMermaidGraphBuilder builds the mermaid graph for a project element.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.mermaid.MermaidGraphBuilderBase
mermaidGraph, nodeColours, propertyHelper, sourceName
-
Constructor Summary
ConstructorsConstructorDescriptionProjectMermaidGraphBuilder
(ProjectElement projectElement) Constructor does all of the work. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addProjectResources
(ProjectElement projectElement) Iterate through the hierarchy.protected String
getProjectType
(ElementHeader projectHeader) Retrieve the type of the project.Methods inherited from class org.odpi.openmetadata.commonservices.mermaid.MermaidGraphBuilderBase
addAnchorLinks, addSolutionComponentToGraph, addSpacesToTypeName, addStyles, appendInvisibleMermaidLine, appendMermaidDottedLine, appendMermaidLine, appendMermaidNode, appendMermaidThinLine, appendNewMermaidNode, appendNewMermaidNode, extractAnchorInfo, getListLabel, getMermaidGraph, getMermaidGraph, getNodeDisplayName, getVisualStyleForSolutionComponent
-
Constructor Details
-
ProjectMermaidGraphBuilder
Constructor does all of the work.- Parameters:
projectElement
- element with all the data
-
-
Method Details
-
getProjectType
Retrieve the type of the project.- Parameters:
projectHeader
- header of the project element.- Returns:
- type name
-
addProjectResources
Iterate through the hierarchy.- Parameters:
projectElement
- current level of hierarchy
-