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 interfaceorg.graphstream.graph.Structure
(superinterface ofGraph
) 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()
(andEdge
) andeachEdge()
iterators fromStructure
in favore of streams.<T extends Node> Iterable<? extends T> getEachNode()
(andEdge
) iterables fromStructure
in favore of streams.- the
addAttribute()
method fromElement
as it was no more than a confusing alias forsetAttribute()
.