File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ rem_vertex!(layer::Layer, mv::MultilayerVertex)
82
82
rem_vertex!(layer::Layer, n::Node)
83
83
84
84
Interlayer{T<:Integer,U<:Real,G<:AbstractGraph{T}}
85
-
86
85
Interlayer(
87
86
layer_1::Layer{T,U},
88
87
layer_2::Layer{T,U},
@@ -91,7 +90,7 @@ Interlayer(
91
90
default_edge_weight::Function = (x,y) -> nothing,
92
91
default_edge_metadata::Function = (x,y) -> NamedTuple(),
93
92
transfer_vertex_metadata::Bool = false,
94
- name::Symbol
93
+ name::Symbol = Symbol("interlayer_$(layer_1.name)_$(layer_2.name)")
95
94
) where {T<:Integer, U <: Real, G<:AbstractGraph{T}}
96
95
97
96
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ Constructor for Interlayer.
116
116
117
117
- `layer_1::Layer{T,U}`: one of the two layers connected by the Interlayer;
118
118
- `layer_2::Layer{T,U}`: one of the two layers connected by the Interlayer;
119
- - `ne::Int64 `: The number of edges of the Interlayer;
119
+ - `edge_list::Vector{ <: MultilayerEdge{<: Union{U, Nothing}}} `: The `MultilayerEdge` list of the Interlayer;
120
120
- `null_graph::G`: the Interlayer's underlying graph type, which must be passed as a null graph. If it is not, an error will be thrown.
121
121
122
122
# KWARGS
You can’t perform that action at this time.
0 commit comments