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
  • DiagramArrange
  • DiagramComposition
  • DiagramDecompose
  • DiagramDraw
  • DiagramDual
  • DiagramFlip
  • DiagramGraphics
  • DiagramGrid
  • Diagram
  • DiagramNetwork
  • DiagramProduct
  • DiagramReverse
  • DiagramSum
  • IdentityDiagram
  • PermutationDiagram
  • PortDual
  • Port
  • PortProduct
  • RowDiagram
  • ToDiagram
Wolfram`DiagrammaticComputation`
DiagramArrange
​
DiagramArrange
[diagram]
arrange
diagram
into a hierarchical grid-like form by introducing wire diagrams.
​
Examples  
(1)
Basic Examples  
(1)
Arranging diagram adds extra wire diagrams, like identities and permutations:
In[1]:=
DiagramRightComposition
Diagram
[A,a,x],
DiagramProduct

Diagram
[B,x,b],
Diagram
[C,y,c],
Diagram
[D,{c,b},{}]
Out[1]=
In[2]:=
DiagramDecompose

Out[2]=
⊙
⊗
⊙
In[3]:=
DiagramDecompose@DiagramArrange

Out[3]=
⊙
⊙
⊗
⊙
⊗
Arranging a network introduces cap&cup and spider diagrams:
In[4]:=
DiagramArrange@
DiagramNetwork

Diagram
[A,{a,b},{d,d}],
Diagram
[B,c,a],
Diagram
[C,{x,c},b],
Diagram
[C,{x,c},b]
Out[4]=
In[5]:=
DiagramDecompose

Out[5]=
⊙
⊙
⊗
⊙
⊗
⊙
⊗
SeeAlso
DiagramGrid
 
▪
IdentityDiagram
 
▪
PermutationDiagram
""

© 2025 Wolfram. All rights reserved.

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