Package ghidra.service.graph
Class GraphTypeBuilder
java.lang.Object
ghidra.service.graph.GraphTypeBuilder
Builder class for building new
GraphTypes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new GraphTypedescription(String text) Sets the description for theGraphTypeDefines a new edge typevertexType(String type) Defines a new vertex type
-
Constructor Details
-
GraphTypeBuilder
Create a new builder- Parameters:
name- the name of the newGraphType
-
-
Method Details
-
description
Sets the description for theGraphType- Parameters:
text- the description- Returns:
- this GraphTypeBuilder
-
vertexType
Defines a new vertex type- Parameters:
type- a string that names a new vertex type- Returns:
- this GraphTypeBuilder
-
edgeType
Defines a new edge type- Parameters:
type- a string that names a new edge type- Returns:
- this GraphTypeBuilder
-
build
Builds a new GraphType- Returns:
- a new GraphType
-