MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / Node

Class Node

apps/application/flow/common.py:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73class Node:
74 def __init__(self, _id: str, _type: str, x: int, y: int, properties: dict, **kwargs):
75 self.id = _id
76 self.type = _type
77 self.x = x
78 self.y = y
79 self.properties = properties
80 for keyword in kwargs:
81 self.__setattr__(keyword, kwargs.get(keyword))
82
83
84class EdgeNode:

Callers 1

new_instanceMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected