Linked Questions

7
votes
2answers
1k views

Coloring edges in GraphPlot

I'm a little stuck with graph drawing part of my research — I can't use the Graph function for plotting my graphs, because my graph is a multi-graph. ...
7
votes
2answers
394 views

Isomorphism of colored multigraphs

Recently I discovered for myself IGraphM package and find it really great! << IGraphM` I am still learning its basic functionality. I need to verify ...
7
votes
2answers
184 views

Weighted graph with multiple different coloured non-weighted paths - styling

This follows on from my previous question answered here. Ultimately, I now have a graph which I've simplified for posting here: ...
7
votes
2answers
177 views

GraphUnion but with multiple edges?

I have two graphs G1 and G2 with the same vertex set. I would like to take the union of G1 ...
7
votes
2answers
163 views

How to get distinct labels on parallel edges in a graph?

The following doesn't display as you'd expect: Graph[{Labeled[1 -> 2, "A"], Labeled[1 -> 2, "B"]}, VertexLabels -> "Name"] The parallel edges are both ...
6
votes
2answers
377 views

Color edges of a multigraph when there are parallel edges using Graph[] and EdgeStyle

This a related question to : How can I display a multigraph with different colored edges? However I'm not using GraphPlot. Instead I'm using Graph and EdgeStyle attribute. Take this graph : How can I ...
4
votes
2answers
310 views

How to specify different colors for edges going between the same two vertices in Graph?

Here is an example: edge1 = Property[1 -> 2, EdgeStyle -> Red]; edge2 = Property[1 -> 2, EdgeStyle -> Blue]; Graph[{edge1, edge2}] This does not ...
1
vote
1answer
127 views

Coloring multi-edges in graphs

I have the following edgelist and colors: ...
2
votes
1answer
80 views

Adding overlapping non-weighted, directed edges to a weighted, undirected graph

I have the following Mathematica code based on the GDB1 instance from the CARP literature: ...
1
vote
1answer
53 views

Combining two directed graphs without loosing any edge

I have two directed graphs given below: one={1 -> 2, 1 -> 3, 3 -> 4, 4 -> 1}; two={1 -> 2, 1 -> 3, 1 -> 4}; I simply want to map the two ...
2
votes
1answer
39 views

Edge coloring of multigraphs with IGraph/M

Does the current implementation of IGMinimumEdgeColoring and IGChromaticIndex in IGraph/M work with multigraphs? I recall ...
0
votes
0answers
24 views

Coloring individual edges of a multigraph each with its own color

Could someone tell me how to color two different edges between the same two vertices with a different color? The last time a related question was asked is 4 years ago, so I am wondering if the ...