Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

DiagrammaticComputation

Guides

  • Diagrams

Tech Notes

  • Introduction to Diagrammatic Computation

Symbols

  • ColumnDiagram
  • DiagramComposition
  • DiagramDraw
  • DiagramDual
  • DiagramFlip
  • DiagramGraphics
  • DiagramGrid
  • Diagram
  • DiagramNetwork
  • DiagramProduct
  • DiagramReverse
  • DiagramSum
  • IdentityDiagram
  • PermutationDiagram
  • PortDual
  • Port
  • PortProduct
  • RowDiagram
  • ToDiagram
Wolfram`DiagrammaticComputation`
PermutationDiagram
​
PermutationDiagram
[{
p
1
,
p
2
,…}]
create a diagram connecting specified input ports with their ordered sequence.
​
​
PermutationDiagram
[{
p
1
,
p
2
,…,
p
n
}{
p
i
1
,
p
i
2
,…,
p
i
n
}]
provide input ports and its permutation explicitly.
​
​
PermutationDiagram
[{
p
1
,
p
2
,…},perm]
provide permutation to permute input ports.
​
​
PermutationDiagram
[{
p
1
,
p
2
,…,
p
n
},{
q
1
,
q
2
,…,
q
n
},perm]
provide different output ports.
​
Examples  
(2)
Basic Examples  
(1)
In[1]:=
PermutationDiagram
[{b,a}]
Out[1]=
In[2]:=
PermutationDiagram
[{a,c,b}{c,b,a}]
Out[2]=
In[3]:=
PermutationDiagram
[{a,b,c,d},Cycles[{{1,3,4,2}}]]
Out[3]=
In[4]:=
PermutationDiagram
[{a,b,c,d},{w,x,y,z},Cycles[{{1,3,4,2}}]]
Out[4]=
Scope  
(1)

""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com