# make a plot for directional graph from edge matrix graph form

### Description

can change the link line style and color, can add arrows at the ending points, this function requires an edge matrix form of graphs, compared to another similar function 'gplot1'.

### Usage

1 |

### Arguments

`edgemat` |
graph edge matrix form, without confusion, 'loop' package will have two types for the graph storage: square matrix from (argument is 'gemat') and edge matrix form (argument is 'edgemat'). |

`arrow` |
default is |

`lty` |
line style for each graph link |

`col` |
line color for each graph link |

`weighted` |
if TRUE, the links/edges will be weighted based on the value present in the 3rd column of edgemat, different edges then will have different line widths for representing them. Otherwise, all edges have the same line width. Default is TRUE |

### Author(s)

Youhua Chen <haydi@126.com>

### References

Chen Y (2012) loop: an R package for performing decomposition of weighted directed graphs, food web analysis and flexible network plotting. Submitted.

### See Also

`decomp`

,
`loop.forward`

,
`loop.random`

,
`gplot1`

,
`fplot`

,
`groupplot`

### Examples

1 2 3 4 5 |