@@ -635,6 +635,40 @@ multilayergraph = MultilayerGraph( layers,
635635 default_interlayers_structure = " multiplex" # Sets the structure of the interlayers that are to be automatically specified. May be "multiplex" for diagonally coupled interlayers, or "empty" for empty interlayers (no edges). "multiplex". See the `Interlayer` constructors for more information.
636636);
637637```
638+ ``` nothing
639+ `MultilayerGraph` with vertex type `Int64` and weight type `Float64`.
640+
641+ ### LAYERS
642+ ┌───────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
643+ │ NAME │ UNDERLYING GRAPH │
644+ ├───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
645+ │ layer_sg │ SimpleGraph{Int64} │
646+ ├───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
647+ │ layer_swg │ SimpleWeightedGraph{Int64, Float64} │
648+ ├───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
649+ │ layer_mg │ MetaGraph{Int64, Float64} │
650+ ├───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
651+ │ layer_vg │ ValGraph{Int64, Tuple{String}, Tuple{Float64, String}, Tuple{}, Tuple{Vector{String}}, Tuple{Vector{Vector{Float64}}, Vector{Vector{String}}}} │
652+ └───────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
653+
654+
655+ ### INTERLAYERS
656+ ┌───────────────────────────────┬───────────┬───────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────┐
657+ │ NAME │ LAYER 1 │ LAYER 2 │ UNDERLYING GRAPH │ TRANSFER VERTEX METADATA │
658+ ├───────────────────────────────┼───────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────┤
659+ │ interlayer_layer_sg_layer_swg │ layer_sg │ layer_swg │ SimpleGraph{Int64} │ false │
660+ ├───────────────────────────────┼───────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────┤
661+ │ interlayer_layer_sg_layer_mg │ layer_sg │ layer_mg │ ValGraph{Int64, Tuple{}, NamedTuple{(:from_to,), Tuple{String}}, Tuple{}, Tuple{}, NamedTuple{(:from_to,), Tuple{Vector{Vector{String}}}}} │ false │
662+ ├───────────────────────────────┼───────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────┤
663+ │ interlayer_layer_swg_layer_mg │ layer_swg │ layer_mg │ SimpleWeightedGraph{Int64, Float64} │ false │
664+ ├───────────────────────────────┼───────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────┤
665+ │ interlayer_layer_sg_layer_vg │ layer_sg │ layer_vg │ SimpleGraph{Int64} │ false │
666+ ├───────────────────────────────┼───────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────┤
667+ │ interlayer_layer_vg_layer_swg │ layer_vg │ layer_swg │ SimpleGraph{Int64} │ false │
668+ ├───────────────────────────────┼───────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────┤
669+ │ interlayer_layer_mg_layer_vg │ layer_mg │ layer_vg │ MetaGraph{Int64, Float64} │ true │
670+ └───────────────────────────────┴───────────┴───────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────┘
671+ ```
638672
639673** Keep in mind that ` Multilayer(Di)Graph ` only supports uniform and standard interface for both ` add_vertex! ` and ` add_edge! ` .**
640674
0 commit comments