Edge#

class scikitplot.agent.Edge(source, target, when=None)[source]#

A transition from source to target, taken when when is true.

Parameters:
source, targetstr

Node names.

whencallable or None, default=None

when(view) -> bool; None always matches. A source’s edges are tried in declaration order and the first match is taken.

Parameters:
source: str[source]#
target: str[source]#
when: Callable[[...], bool] | None = None#