-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEdgeAttributes.py
More file actions
30 lines (27 loc) · 955 Bytes
/
EdgeAttributes.py
File metadata and controls
30 lines (27 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from enum import Enum
# types of relations between nodes in the type graph
class EdgeTypes(Enum):
"""
Enum representing the types of relations between nodes in a type graph.
This enumeration defines various types of edges that can exist between nodes,
providing a structured way to represent connections in a type graph. Each member
corresponds to a specific type of relationship, facilitating the understanding
and manipulation of the graph's structure.
"""
PARENT = "parent"
SUBPACKAGE = "subpackage"
MODULES = "modules"
NAMESPACE = "namespace"
PARENTCLASSES = "parentClasses"
CHILDCLASSES = "childClasses"
CONTAINS = "contains"
DEFINES = "defines"
SIGNATURES = "signatures"
DEFINITIONS = "definitions"
PARAMETERS = "parameters"
NEXT = "next"
PREVIOUS = "previous"
ACCESSING = "accessing"
ACCESSEDBY = "accessedBy"
TARGET = "target"
SOURCE = "source"