Skip to content

1.0.0

Latest

Choose a tag to compare

@ekertn7 ekertn7 released this 15 Jan 05:18

What's changed

  • Added core module including DirectedGraph and UndirectedGraph classes with
    - _nodes_validation and _edges_validation methods
    - add_node, del_node, has_node and clear_nodes methods
    - add_edge, del_edge, has_edge and clear_edges methods
    - clear_degree, clear_neighbors, calc_degree, find_loops and find_neighbors methods
    - describe, check_type, check_is_pseudo, check_is_multi and check_is_complete methods
    - get_subgraph method
    - __repr__, __eq__, __ne__ and __len__ methods

  • Added exceptions including

    • 12 validation exceptions
    • 3 exceptions if a non-existent object is requested
    • 2 exceptions if attempt is made to create an existing object
    • 2 exceptions if trying to delete basic elements in graph
    • 1 exception if wrong file extension is choised
  • Added tools module with export_graph_to_json and import_graph_from_json functions

  • Added documentation including

    • README.md
    • graph.md
    • import_export.md

Full changelog: https://github.com/ekertn7/ConnectionZ/commits/1.0.0