TTGraph class

Constructors

TTGraph({GraphMergePort? mergePort})

Properties

activeConnectors ↔ num
getter/setter pair
events ↔ TTGraphEvent
latefinal
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(GraphTransportPort transport) → TTGraph
Connect to a source/destination for graph data
disconnect(GraphTransportPort transport) → TTGraph
Disconnect from a source/destination for graph data
eachConnector(GraphConnectorFuncType cb) → TTGraph
Synchronously invoke callback function for each connector to this graph
get(String soul, [TTMsgCb? cb, String? msgId]) → VoidCallback
Request node data
getOpt() → TTGraphOptions
getPathSouls(List<String> path) → Future<List<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
opt(TTGraphOptions options) → TTGraph
Configure graph options
put(TTGraphData data, [TTMsgCb? cb, String? msgId]) → VoidCallback
Write node data
putPath(List<String> fullPath, TTValue data, [TTMsgCb? cb, UUIDFuncType? uuidFn]) → Future<void>
Write graph data to a potentially multi-level deep path in the graph
query(List<String> path, TTOnCb cb) → VoidCallback
Read a potentially multi-level deep path from the graph
toString() → String
A string representation of this object.
inherited
unuse(TTMiddleware middleware, {TTMiddlewareType kind = TTMiddlewareType.read}) → TTGraph
Unregister graph middleware
use(TTMiddleware middleware, {TTMiddlewareType kind = TTMiddlewareType.read}) → TTGraph
Register graph middleware

Operators

operator ==(Object other) → bool
The equality operator.
inherited