Hi!
Before adding records to dependencyStore, how can I check if it would be valid / non-circular?
I don't want to let the cycle popup come up, I simply need a boolean value to decide what to do next.
this.gantt.project.dependencyStore.add({
id: this.uuid.getUuid(),
fromEvent: source.id,
toEvent: target.id,
type: DependencyType.EndToStart,
fromSide: 'right',
toSide: 'left',
});
await this.gantt.project.commitAsync();
I'm using Gantt 5.1.4.
regards,
Norbi