GraphNode

interface GraphNode<out T>

Graph node which represents the object as a part of some hierarchy

Classes implementing this interface should take care of equals and hashCode because they are used for testing the nodes for equality, and wrong implementation of these methods may lead to the wrong graph rendering, StackOverflow / OutOfMemory errors and so on. See example in NodeWrapper

Parameters

T

Underlying object type

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val biNodes: List<GraphNode<T>>

Nodes which are connected with the undirected edges to this one: {this} -- {biNode}

Link copied to clipboard
abstract val inNodes: List<GraphNode<T>>

Nodes which are connected with the ingoing edges to this one: {this} <- {inNode}

Link copied to clipboard
abstract val label: Label

Node label with all required information

Link copied to clipboard
abstract val outNodes: List<GraphNode<T>>

Nodes which are connected with the outgoing edges to this one: {this} -> {outNode}