Encapsulate a node in a graph comprised of vertices connected by dependencies (edges)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(varying_string), | private | :: | attributes_ | ||||
integer, | private, | allocatable | :: | edges_(:) | |||
type(varying_string), | private | :: | label_ |
Component-wise constructor of a vertex_t object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | edges(:) |
vertices on which this vertex depends |
||
type(varying_string), | intent(in) | :: | label |
vertex description (e.g., name) |
||
type(varying_string), | intent(in), | optional | :: | attributes |
Graphvizl .dot symbol description |
Construct a scalar array vertex_t or an array of objects from a JSON representation of a vertex or vertices
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(json_element_t), | intent(in) | :: | json_element |
Construct a single vertex_t object from a JSON representation of a vertex
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_value_t), | intent(in) | :: | json_value |
Vertex attributes getter
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vertex_t), | intent(in) | :: | self |
Result is the array element numbers of the vertices on which this vertex depends
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vertex_t), | intent(in) | :: | self |
Result is .true. iff the edges component is allocated
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vertex_t), | intent(in) | :: | self |
Vertex label getter
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vertex_t), | intent(in) | :: | self |
Result is a JSON representation of self
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vertex_t), | intent(in) | :: | self |