Skip to content

Commit

Permalink
Update TenetMakieExt.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing authored Sep 15, 2023
1 parent d71674b commit 56175c2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ext/TenetMakieExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ Plot a [`TensorNetwork`](@ref) as a graph.
# Keyword Arguments
- `inds` Whether to show the index labels. Defaults to `false`.
- `layout` Algorithm used to map graph vertices to a (2D or 3D) coordinate system.
- `layout` Mapping from graph vertices to a (2D or 3D) coordinate system.
The algorithms implemented in the `NetworkLayout` package are recommended.
- `labels` Whether to show the tensor labels. Defaults to `false`.
- Additionally, all the keyword arguments of `GraphMakie.graphplot` are supported.
- `labels` If `true`, show the labels of the tensor indices. Defaults to `false`.
- The rest of `kwargs` are passed to `GraphMakie.graphplot`.
"""
function Makie.plot(tn::TensorNetwork; kwargs...)
f = Figure()
Expand Down

0 comments on commit 56175c2

Please sign in to comment.