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
guidToNodeIdMap, 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, addDataFieldToGraph, addMemberDataFieldToGraph, addRelatedFromElementSummaries, addRelatedFromElementSummary, addRelatedToElementSummaries, addRelatedToElementSummary, addSolutionComponentToGraph, addSpacesToTypeName, addStyles, appendInvisibleMermaidLine, appendMermaidDottedLine, appendMermaidLine, appendMermaidLongAnimatedLine, appendMermaidNode, appendMermaidThinLine, appendNewMermaidNode, appendNewMermaidNode, checkForClassifications, checkForClassifications, checkForClassifications, clearGraph, endSubgraph, extractAnchorInfo, getCardinalityLabel, getCardinalityLabel, getListLabel, getMermaidGraph, getMermaidGraph, getNodeDisplayName, getVisualStyleForRelationship, getVisualStyleForSolutionComponent, startSubgraph, startSubgraph
-
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
-