GraphStream v2.0-alpha Release Notes

Release Date: 2018-04-10 // over 3 years ago
  • โž• Added

    • ๐Ÿ’ป Stub for new UI modules (Swing, JavaFX, Android...)
    • Java8+ Streams to iterate through nodes edges and so on. For instance, method Stream<Node> nodes() from interface org.graphstream.graph.Structure (superinterface of Graph) returns a stream of nodes.

    ๐Ÿ”„ Changed

    • Serious modification of the code base in order to use Java8 Stream in place of iterators.

    โœ‚ Removed

    • The basic swing viewer
    • <T extends Node> Iterator<T> getNodeIterator() (and Edge) and eachEdge() iterators from Structure in favore of streams.
    • <T extends Node> Iterable<? extends T> getEachNode() (and Edge) iterables from Structure in favore of streams.
    • the addAttribute() method from Element as it was no more than a confusing alias for setAttribute().