Hi, I was interested in adding dependencies to my existing scheduler v3.1.3 which I am using in an Ionic 4/Angular 8 project.
I had a look here https://www.bryntum.com/docs/scheduler/#Scheduler/feature/Dependencies#function-draw, and I just added the following....
I have done nothing else. When I run it, I get the dependency "nodes"" and I am able to drag a line from one event to another...
However, once I let go, I can't see any line being drawn.
It seems to be there, and I have played with the line css (eg made red)..
but it still does not show.
I also tried adding one by code with the following test code...
private addDependencies(eventsToAdd: Array<EventState>): void {
let depId = 1;
const deps = [];
for (let ev of eventsToAdd) {
for (let pred of ev.predecessorIds) {
const dep = { id: depId++, from: pred, to: task.id };
deps.push(dep);
}
}
this.scheduler.dependencyStore.add(deps);
const depFound = this.scheduler.dependencyStore.getById(1);
}
In the above, the call to
this.scheduler.dependencyStore.getById(1)
returned an object (so it was found I assume)
but same thing.
Is there anything else I need to do / css I need to have them display?
Thanks in advance?