space-engineers-api
0.9.0
common
space-engineers-api
/
spaceEngineers.graph
/
DirectedGraph
Directed
Graph
common
data
class
DirectedGraph
<
NodeId
,
NodeData
,
EdgeId
,
EdgeData
>
(
val
nodes
:
List
<
Node
<
NodeId
,
NodeData
>
>
,
val
edges
:
List
<
DataEdge
<
EdgeId
,
NodeId
,
EdgeData
>
>
)
Content copied to clipboard
Constructors
Properties
Extensions
Constructors
Directed
Graph
Link copied to clipboard
common
fun
<
NodeId
,
NodeData
,
EdgeId
,
EdgeData
>
DirectedGraph
(
nodes
:
List
<
Node
<
NodeId
,
NodeData
>
>
,
edges
:
List
<
DataEdge
<
EdgeId
,
NodeId
,
EdgeData
>
>
)
Content copied to clipboard
Properties
edges
Link copied to clipboard
common
val
edges
:
List
<
DataEdge
<
EdgeId
,
NodeId
,
EdgeData
>
>
Content copied to clipboard
nodes
Link copied to clipboard
common
val
nodes
:
List
<
Node
<
NodeId
,
NodeData
>
>
Content copied to clipboard
Extensions
to
Extra
Link copied to clipboard
common
fun
<
NodeId
,
NodeData
,
EdgeId
,
EdgeData
>
DirectedGraph
<
NodeId
,
NodeData
,
EdgeId
,
EdgeData
>
.
toExtra
(
)
:
DirectedGraphExtra
<
NodeId
,
NodeData
,
EdgeId
,
EdgeData
>
Content copied to clipboard