@marin wrote:
I ran into a peculiar issue... I do have a lot of work in my projects with groups and at times I change their visibility - this is done by iterating over all of the nodes using an each method. The logic is placed inside the transaction.
E.g.transaction each set visibility committransaction
On an unrelated piece of code, I call:
model.setDataProperty(group.data, 'property_name', new_object)
However, whenever I call it, the group becomes invisible, while its property 'visible' remains true..... I've just console logged the output using:
diagram.nodes.each(function (node) { console.log(node.data.key, node.visible) });
What am I doing wrong?
Posts: 2
Participants: 2