Skip to content

Commit ab9b55f

Browse files
InterdisciplinaryPhysicsTeamClaudMorpitmonticone
committed
Update README.md
Co-Authored-By: Claudio Moroni <[email protected]> Co-Authored-By: Pietro Monticone <[email protected]>
1 parent ff5baaf commit ab9b55f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,11 @@ interlayer_simple_directed = interlayer_simpledigraph( # Interlayer constructor
132132
layer_simple_directed_weighted, # Layer 2
133133
n_edges # Number of edges
134134
)
135+
```
136+
137+
The interlayer exports a more flexible constructor too.
135138

136-
## The interlayer exports a more flexible constructor too.
139+
```julia
137140
n_vertices_1 = nv(layer_simple_directed_weighted) # Number of vertices of layer 1
138141
n_vertices_2 = nv(layer_simple_directed_value) # Number of vertices of layer 2
139142
n_edges = rand(1:(n_vertices_1 * n_vertices_2 - 1)) # Number of interlayer edges

0 commit comments

Comments
 (0)