Skip to content

Commit cf71d17

Browse files
committed
fix docs; show both horizontal and vertical versions
1 parent e8dfd43 commit cf71d17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/src/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,11 @@ Align
115115
```@example layouts
116116
g = smallgraph(:cubical)
117117
layout = Spring(Ptype=Float32)
118-
f, ax, p = graphplot(g, layout=layout) # horizontal alignment (zero-angle by default)
118+
f, ax, p = graphplot(g, layout=layout) # horizontal alignment (zero angle by default)
119119
hidedecorations!(ax); hidespines!(ax); ax.aspect = DataAspect(); f #hide
120+
```
121+
122+
```@example layouts
120123
f, ax, p = graphplot(g, layout=Align(layout, pi/2)) # vertical alignment
121124
hidedecorations!(ax); hidespines!(ax); ax.aspect = DataAspect(); f #hide
122125
```

0 commit comments

Comments
 (0)