# Tag Info

Accepted

### How to Make a Sankey Diagram

Here's the start of a SankeyDiagram function: ...
• 130k
Accepted

• 84.9k

### How can I use the Python library networkx from Mathematica?

Mathematica 12.0 brings two new features that make this easier to do than it was before: ExternalFunction Wolfram Client for Python Below we implement a function <...
• 234k

### How can we produce a graph layout with hierarchical edge bundling in Mathematica?

Update: I wrapped all this up into a small package for those who don't want to go through all the steps but would like to try this out anyway. Warning: There's not a lot of error checking and it may ...
• 234k
Accepted

### Reconstruct a graph from an image (curved edges and edge crossings)

Without claiming much generality, I made the following. I'm using a slightly more complex image than your proposed one. ...
• 116k
Accepted

### Visualize an irrational number

With a pie chart around it: ...
• 15k
Accepted

### How can I make a graph network from image of granular packing?

Another starting point, where the objects being more or less fixed size disks is used ad hoc to measure their centroids as components after some mangling, and those which are close enough to each ...
• 19k
Accepted

### Zoom in on a 2D graph

You can do this using Show and PlotRange which can be used in combination with graphs. To determine the full ...
• 65.8k

### Zoom in on a 2D graph

This is a prototype, it can not handle Text Inset and some more complicated directives efficiently but I don't have time / ...
• 137k

### Elegant implementation of factorial tree graph

Update 3: ExpressionGraph is now available in version 12.1. Update 2: a more streamlined version for 2D graphs: ...
• 392k
Accepted

...
• 392k

### Visualize an irrational number

With help of: (1) how to generate repeatable Unique streams? (2) Color Blend in BezierCurve (3) Is it possible to draw really thin lines in Mathematica? here is something to start: ...
• 137k
Accepted

• 33.6k
Accepted

### How to build a neighbor table for the Hexagonal lattice

I will take this opportunity to showcase the abilities of IGraph/M for lattice generation and mesh / graph / matrix conversions. IGraph/M thrives on user feedback, so if you find it useful, please ...
• 234k
Accepted

### Cone Trees: map a graph onto geometric shape

To lay out a graph on a cone, you start by laying it out in a circular way. Then you add an appropriate "z coordinate" to each node position, proportionally to its distance form the centre. This is ...
• 234k

### Framework behind Graph plots. DynamicNamespace and friends

# post under construction but feel free to add anything # undocumented feature # based on observation so it may be wrong TODO: This post does not cover few things yet, among others: how to ...
• 137k
Accepted

### How to generate all Feynman diagrams with Mathematica?

Here is a piece of code that is inspired by quantum field theory. The physics background can be found in this physics.SE post. First, we define some auxiliary functions: ...

### Elegant implementation of factorial tree graph

IGraph/M already has this built-in as IGSymmetricTree. You can specify the number of branches at each level. ...
• 234k
Accepted

### Elegant implementation of factorial tree graph

here is my elegant implementation ...
• 6,657
Accepted

### Creating graph out of particles images

Here is one approach. See the section at the bottom about a few comments on how I chose the most important image processing parameters. We start with your binarized image: ...
• 33.6k
Accepted

### Making a graph or network interactively over an image

There are many ways to do this, modifying, improving my method or doing a completely different thing. My goal here is to show a very basic idea that should give you a start. ...
Accepted

...
• 116k
Accepted

### GeoGraphics : path within a country

Here is a solution I can think of. Idea is to take the FullPolygon of a given country and then triangulate the region. Once that is done take the underlying ...
• 14.7k

### Converting a Sierpinski tetrahedron to a Graph

A natural and simple way to approach this problem, assuming that your SiPyramid function has been defined, is as follows: ...
• 32.4k
Accepted

### How to work with phylogenetic trees?

Download the Phylogenetics` package here: Phylogenetics on GitHub (direct link to latest release: source zip), available on PackageData.net here. Documentation: notebook / pdf / dark themed pdf (for ...
• 46.9k

### Cluster graph of bordered countries?

France and Germany ...
• 35.9k
Accepted

### How to visualize a Cayley graph in this style?

The simple way: g = CayleyGraph[ PermutationGroup[{Cycles[{{1, 2, 3}}], Cycles[{{1, 5}, {2, 4}}]}]] ...
• 234k

### Visualizing Cayley's Formula in Mathematica

You can use Prüfer sequences to generate all labelled trees. IGraph/M has the required functionality. ...
• 234k