<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/doc/reference/classes/graph.rst, branch main</title>
<subtitle>github.com: networkx/networkx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/'/>
<entry>
<title>Add method to clear edges only (#3477)</title>
<updated>2020-07-05T07:53:35+00:00</updated>
<author>
<name>Paolo Lammens</name>
<email>lammenspaolo@gmail.com</email>
</author>
<published>2020-07-05T07:53:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=87d13e1869d2b3af7ac7d0cdb065044a658e5330'/>
<id>87d13e1869d2b3af7ac7d0cdb065044a658e5330</id>
<content type='text'>
* feat: `clear_edges` in `networkx.Graph`

Method to clear all edges in a graph without altering nodes
or graph attributes. Added corresponding test too.

* tests: improve `test_clear` in `TestGraph`

Added a graph attribute before clearing to test its proper deletion.
too.

* tests: add tests for `clear` and `clear_edges` specific to DiGraph

To test that DiGraph-specific edge records are cleared as well.

* fix: specific `clear_edges` for `DiGraph`

So that DiGraph's pred/succ also get cleared.

* Convert docstrings tests and docs reference links to add clear_edges

Co-authored-by: Dan Schult &lt;dschult@colgate.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* feat: `clear_edges` in `networkx.Graph`

Method to clear all edges in a graph without altering nodes
or graph attributes. Added corresponding test too.

* tests: improve `test_clear` in `TestGraph`

Added a graph attribute before clearing to test its proper deletion.
too.

* tests: add tests for `clear` and `clear_edges` specific to DiGraph

To test that DiGraph-specific edge records are cleared as well.

* fix: specific `clear_edges` for `DiGraph`

So that DiGraph's pred/succ also get cleared.

* Convert docstrings tests and docs reference links to add clear_edges

Co-authored-by: Dan Schult &lt;dschult@colgate.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify the Graphview and SubGraphView system (#3073)</title>
<updated>2018-07-20T04:53:31+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2018-07-20T04:53:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=e46f4c1cc02feaa08c855ca211ef114acc8fd772'/>
<id>e46f4c1cc02feaa08c855ca211ef114acc8fd772</id>
<content type='text'>
* Simplify the Graphview and SubGraphView system

- add tests to show that extensions of base graph classes (only add new functions)
  should be able to use the Graph.subgraph and Graph.copy methods easily
- Remove ReadOnlyGraph class in favor of existing freeze() function
- Switch all GraphView classes to generic_graph_view function
- Switch all SubGraph classes to subgraph_view function
- Introduce deprecated functions that act like the deprecated classes.

Still need to:
- add docs
- add tests
- make sure backward compatible and marked as deprecated
- remove GraphView and SubGraph construct from rest of codebase
- update release docs

Fixes #2889
Fixes #2793
Fixes #2796
Fixes #2741

* Ease subclassing for to_(un)directed

- add to_directed_class indicator functions to base classes
- start deprecating G.fresh_copy
- update function.to(un)directed

* Remove G.fresh_copy from code replace with __class__

Add deprecation warnings for GraphView classes, ReverseView and
SubGraph. Also for fresh_copy function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Simplify the Graphview and SubGraphView system

- add tests to show that extensions of base graph classes (only add new functions)
  should be able to use the Graph.subgraph and Graph.copy methods easily
- Remove ReadOnlyGraph class in favor of existing freeze() function
- Switch all GraphView classes to generic_graph_view function
- Switch all SubGraph classes to subgraph_view function
- Introduce deprecated functions that act like the deprecated classes.

Still need to:
- add docs
- add tests
- make sure backward compatible and marked as deprecated
- remove GraphView and SubGraph construct from rest of codebase
- update release docs

Fixes #2889
Fixes #2793
Fixes #2796
Fixes #2741

* Ease subclassing for to_(un)directed

- add to_directed_class indicator functions to base classes
- start deprecating G.fresh_copy
- update function.to(un)directed

* Remove G.fresh_copy from code replace with __class__

Add deprecation warnings for GraphView classes, ReverseView and
SubGraph. Also for fresh_copy function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add base class method `update` (#3028)</title>
<updated>2018-06-28T05:18:47+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2018-06-28T05:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=d4e429a07541deda5c30e4d36668c5b6e398ee5f'/>
<id>d4e429a07541deda5c30e4d36668c5b6e398ee5f</id>
<content type='text'>
Part of #1393</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part of #1393</pre>
</div>
</content>
</entry>
<entry>
<title>Review and update tutorial/docs due to 2.0 changes (#2650)</title>
<updated>2017-09-07T16:07:05+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2017-09-07T16:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=0a31f2d0caf311c78ea3e91a17f8ef114fe86eb2'/>
<id>0a31f2d0caf311c78ea3e91a17f8ef114fe86eb2</id>
<content type='text'>
* Revamp tutorial.rst

* update docs and simpliy nbunch usage

* Revise base class docs

* Read-through and tweak rst files
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Revamp tutorial.rst

* update docs and simpliy nbunch usage

* Revise base class docs

* Read-through and tweak rst files
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix docs (#2607)</title>
<updated>2017-08-13T01:42:55+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2017-08-13T01:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=f7024ec0bf9a8b40485250000abe8d8962712a64'/>
<id>f7024ec0bf9a8b40485250000abe8d8962712a64</id>
<content type='text'>
Changes mostly due to PR #2604.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes mostly due to PR #2604.</pre>
</div>
</content>
</entry>
<entry>
<title>Revise docs (#2524)</title>
<updated>2017-07-19T04:25:09+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2017-07-19T04:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=121335053f10f8a7af648bacb36d6300fc1953f6'/>
<id>121335053f10f8a7af648bacb36d6300fc1953f6</id>
<content type='text'>
* Finish directory reorg and make minor text edits

* Remove cruft from conf.py

* Fix broken links and comply with pep8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Finish directory reorg and make minor text edits

* Remove cruft from conf.py

* Fix broken links and comply with pep8
</pre>
</div>
</content>
</entry>
</feed>
