GraphStream v2.0.0-beta Release Notes

Release Date: 2019-11-13 // 7 months ago
  • 🚀 Preview Release for version 2.0.0.

    JAR file (with dependencies) signed with GraphStream's key :

    gpg: Signature made Tue Nov 12 21:43:20 2019 CET gpg: using RSA key A2F3494A7D69DA4CAE31FF9D434F26F1A2734980 gpg: issuer ""gpg: Good signature from "GraphStream Team \<\>" [ultimate]

Previous changes from v2.0-alpha

  • ➕ 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().