Arnaud Casteigts

Results 10 issues of Arnaud Casteigts

Nodes receive their IDs only when they are added to the `Topology`. It often occurs that an algorithm tries to consult this value in the constructor of the `Node`, rather...

enhancement

`Color.getColorAt()` will remain for some time, with a deprecated annotation.

enhancement
ready

When executing the following code: ``` Topology topology = new Topology(); topology.setDefaultNodeModel(MyNode.class); new RingGenerator(N).generate(topology); ``` the created nodes are not of type `MyNode`, but of class `Node`. It is possible...

bug
ready

When creating nodes with `TopologyGenerators.generateRing()`, the nodes are not well placed correctly, as witnessed by the attached picture. ![ring](https://user-images.githubusercontent.com/10744318/140131338-819443b1-bb32-4131-a655-2ad6f8d1941d.jpg)

bug
ready

The `DefaultMessageEngine` offers a method `setDebug()` that makes it possible to print a log of the messages in the Standard Error. It would be good to generalize this method into...

enhancement
ready

JBotSim already has a `JDirectedLinkPainter` for drawing directed links. However, in many cases, one has to visualize another kind of orientation that stems from the content of the node's variables....

enhancement

The current version of Message.toString() shows only the content of the message, not its flag, which should be added.

enhancement
ready

It might be useful to be able to retrieve the `Node` corresponding to a given `JNode`. For instance, this happened in an attempt to detect where a node was dropped...

enhancement
ready

When we select the "set clock speed" command in the menu, the slider gets initializes to 0 and changes the current speed.

bug

When a node overrides `toString()` and the topology is exported (serialized), the content returned by `toString()` is used in the format and the file cannot be re-imported afterwards. This is...

bug