Skip to main content
Added image
Source Link
m_goldberg
  • 108.6k
  • 16
  • 107
  • 263

thickness Styling the edges of plottinga graph according to the multiplicities of the edges

I used these codesthe following code to mightmake a simple triangle, in which the nodes have different effects each other:

data = {{0, 1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

thatsgraph

That gave me three edges between nodes 1 and 3 three edges , futhermoreand two edges between nodes 2 and 3 two edges.
How How can I show on a graphthese multiplicities with edges that range from thin to thickness these values (1,2,3)thick.


@prgrad and @m_goldberg

I mightwant to transform amy graph into one which gives me single edge between the nodes. See pic.the following picture:

for each different edge value of othera different style. for For example, for +3 dark black, for -3 dark red, etc. 

enter image description here

Can you can maybe help me futher withto make a graph from my adjacency matrix that has these (minus and plus) codes:labels?

data = {{0, -1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

thickness of plotting edges

used these codes to might a simple triangle, which nodes have different effects each other:

data = {{0, 1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

thats gave me between nodes 1 and 3 three edges , futhermore between nodes 2 and 3 two edges.
How can I show on a graph from thin to thickness these values (1,2,3)


@prgrad and @m_goldberg

I might to transform a graph which gives me single edge between the nodes. See pic.:

for each value of other different. for example +3 dark black, for -3 dark red etc.enter image description here

you can maybe help me futher with these (minus and plus) codes:

data = {{0, -1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

Styling the edges of a graph according to the multiplicities of the edges

I used the following code to make a simple triangle, in which the nodes have different effects each other:

data = {{0, 1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

graph

That gave me three edges between nodes 1 and 3, and two edges between nodes 2 and 3. How can I show these multiplicities with edges that range from thin to thick.


@prgrad and @m_goldberg

I want to transform my graph into one which gives me single edge between the nodes. See the following picture:

for each different edge value of a different style. For example, for +3 dark black, for -3 dark red, etc. 

enter image description here

Can you help to make a graph from my adjacency matrix that has these (minus and plus) labels?

appended answer 89808 as supplemental
Source Link

used these codes to might a simple triangle, which nodes have different effects each other:

data = {{0, 1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

thats gave me between nodes 1 and 3 three edges , futhermore between nodes 2 and 3 two edges.
How can I show on a graph from thin to thickness these values (1,2,3)


@prgrad and @m_goldberg

I might to transform a graph which gives me single edge between the nodes. See pic.:

for each value of other different. for example +3 dark black, for -3 dark red etc.enter image description here

you can maybe help me futher with these (minus and plus) codes:

data = {{0, -1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

used these codes to might a simple triangle, which nodes have different effects each other:

data = {{0, 1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

thats gave me between nodes 1 and 3 three edges , futhermore between nodes 2 and 3 two edges.
How can I show on a graph from thin to thickness these values (1,2,3)

used these codes to might a simple triangle, which nodes have different effects each other:

data = {{0, 1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

thats gave me between nodes 1 and 3 three edges , futhermore between nodes 2 and 3 two edges.
How can I show on a graph from thin to thickness these values (1,2,3)


@prgrad and @m_goldberg

I might to transform a graph which gives me single edge between the nodes. See pic.:

for each value of other different. for example +3 dark black, for -3 dark red etc.enter image description here

you can maybe help me futher with these (minus and plus) codes:

data = {{0, -1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 
Source Link

thickness of plotting edges

used these codes to might a simple triangle, which nodes have different effects each other:

data = {{0, 1, 0}, {0, 0, 2}, {3, 0, 0}}; AdjacencyGraph[data, VertexLabels -> "Name"] 

thats gave me between nodes 1 and 3 three edges , futhermore between nodes 2 and 3 two edges.
How can I show on a graph from thin to thickness these values (1,2,3)