orange-network / orangecontrib / network /

Aleš Erjavec 079dcb2 

Network Classes in Orange

Orange network classes provide methods for graph manipulation,
network analysis, and layout optimization. They are derived from
`NetworkX basic graph types <>`_
and :obj:``.

We support four graph types: :obj:``,
:obj:``, :obj:``, and
:obj:``. Choose the graph type that matches the
structure of the graph you wish to represent.


Reading and Writing Networks

Network class reads and writes Pajek (.net), GML, and gpickle file formats.

:download:` <code/>`:

.. literalinclude:: code/
    :lines: 5-6
Visualize Networks in Net Explorer Widget

To display a network in Net Explorer widget write:

part of :download:` <code/>`

.. literalinclude:: code/
    :lines: 10-16
.. image:: files/network-explorer.png
    :width: 100%


from pkg_resources import resource_filename
def networks():
    yield ('', resource_filename(__name__, 'networks'))

import networkx as nx

from network import *

import community
import snap