edge

fun edge(    source: String,     target: String,     block: (DotWriter.AttributeWriter) -> Unit?)

Emit an edge with attributes.

Parameters

source

The identifier of the source node.

target

The identifier of the target node.

block

The lambda to apply to generate the edge's attributes.

Throws

If emission fails.


fun edge(    source: DotWriter.DecoratedNode,     target: DotWriter.DecoratedNode,     block: (DotWriter.AttributeWriter) -> Unit?)

Emit an edge.

Parameters

source

The source node.

target

The target node.

block

The lambda to apply to generate the edge's attributes.

Throws

If emission fails.


fun edge(    source: (DotWriter.GraphWriter) -> Unit,     target: String,     block: (DotWriter.AttributeWriter) -> Unit?)

Emit an edge.

Parameters

source

The lambda to apply to generate the source subgraph.

target

The identifier of the target node.

block

The lambda to apply to generate the edge's attributes.

Throws

If emission fails.


fun edge(    source: (DotWriter.GraphWriter) -> Unit,     target: DotWriter.DecoratedNode,     block: (DotWriter.AttributeWriter) -> Unit?)

Emit an edge.

Parameters

source

The lambda to apply to generate the source subgraph.

target

The target node.

block

The lambda to apply to generate the edge's attributes.

Throws

If emission fails.


fun edge(    source: String,     target: (DotWriter.GraphWriter) -> Unit,     block: (DotWriter.AttributeWriter) -> Unit?)

Emit an edge.

Parameters

source

The identifier of the source node.

target

The lambda to apply to generate the target subgraph.

block

The lambda to apply to generate the edge's attributes.

Throws

If emission fails.


fun edge(    source: DotWriter.DecoratedNode,     target: (DotWriter.GraphWriter) -> Unit,     block: (DotWriter.AttributeWriter) -> Unit?)

Emit an edge.

Parameters

source

The source node.

target

The lambda to apply to generate the target subgraph.

block

The lambda to apply to generate the edge's attributes.

Throws

If emission fails.


fun edge(    source: (DotWriter.GraphWriter) -> Unit,     target: (DotWriter.GraphWriter) -> Unit,     block: (DotWriter.AttributeWriter) -> Unit?)

Emit an edge.

Parameters

source

The lambda to apply to generate the source subgraph.

target

The lambda to apply to generate the target subgraph.

block

The lambda to apply to generate the edge's attributes.

Throws

If emission fails.