# The weights for the command "Graph.comunity\_edge\_betweenness()"

**URL:** <https://igraph.discourse.group/t/the-weights-for-the-command-graph-comunity-edge-betweenness/1080>\
**Category:** Usage\
**Tags:** Python\
**Created:** [25 January 2022 07:11 UTC](https://igraph.discourse.group/t/the-weights-for-the-command-graph-comunity-edge-betweenness/1080 "2022-01-25T07:11:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [25 January 2022 07:53 UTC](https://igraph.discourse.group/t/the-weights-for-the-command-graph-comunity-edge-betweenness/1080/4 "2022-01-25T07:53:19Z")

</div>

Can you make the example self-contained? We don’t have the data. Ideally, come up with a _minimal_ example that does not require an external data file.

Also, please format your post for readability (code should go in code blocks!)

> [@How to use this forum?](https://igraph.discourse.group/t/how-to-use-this-forum/35):
>
> If you are new to the Discourse platform, which we are using for this forum, the [Discourse New User Guide](https://meta.discourse.org/t/discourse-new-user-guide/96331) will show you the basics. In short, text is formatted using [Markdown](https://commonmark.org/help/) (recommended), BBCode or HTML. The examples below will help you get started. If you type \*\*Bold\*\*, \_italic\_, `print(str)` and a [link](http://igraph.org). it will format as Bold, italic, code and a [link](http://igraph.org). Program code can be delimited with triple backquotes. If you type ``` def sqr(x): y = x*x return y `…

---

_[View the full topic](https://igraph.discourse.group/t/the-weights-for-the-command-graph-comunity-edge-betweenness/1080)._
