GraphStream v2.0-alpha Release Notes

Release Date: 2018-04-10 // about 6 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().