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

MacroTools

Guides

  • MacroTools

Symbols

  • AgendaTitle
  • DirectedFan
  • EdgeFan
  • EvenPart
  • FlattenLevel
  • FlattenOn
  • NormalFixedPoint
  • OddPart
  • Optioned
  • ProcessBy
  • SequencedMap
  • SplicedMap
  • TaggedDirectedFan
  • TaggedEdgeFan
  • TaggedUndirectedFan
  • UndirectedFan
FaizonZaman`MacroTools`
DirectedFan
​
DirectedFan
[p,{
c
1
,
c
2
,…}]
Fans directed edges from parent
p
to child
c
​
i
.
​
​
DirectedFan
[{
p
​
1
,
p
​
2
,…},{
c
​
1
,
c
​
2
,…}]
Fans directed edges from each parent
p
​
i
to child
c
​
i
.
​
​
DirectedFan
[{ps,
c
​
1
,
c
​
2
,…}]
Fans directed edges from each parent in
ps
to child
c
​
i
.
​
Examples  
(4)
Basic Examples  
(2)
Fan a parent to 3 children:
In[1]:=
DirectedFan
[a,Range[3]]
Out[1]=
{a1,a2,a3}
​
Fan a word to its nearest neighbors
In[1]:=
word="hello";​​near=(Nearest[WordList[],word,4]//DeleteCases[word]);​​
DirectedFan
[word,near]
Out[1]=
{hellocello,hellohallo,hellohullo}
Scope  
(2)

SeeAlso
DirectedEdge
▪
Graph
▪
Thread
""

© 2025 Wolfram. All rights reserved.

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