Hi there,
ive got the following Problem with the generation of .dot-files. If i setup my configuration as the following example:
'modules-graph': {
options: {
// Task-specific options go here.
},
all: {
files: {
'doc/graphs/all.dot': ['foo/**/*.js',
'bar/**/*.js']
}
},
foo: {
files: {
'doc/graphs/foo.dot': ['foo/**/*.js']
}
},
bar: {
files: {
'doc/graphs/bar.dot': ['bar/**/*.js']
}
}
}
And create a grunt-job like this:
grunt.registerTask('graphsAll', [
'modules-graph:foo',
'modules-graph:bar',
'modules-graph:all',
'graphviz'
]);
Then ill have foo.png as a correct result (Just files of foo are in the graph), but bar.png has all files from foo and from bar in it (wich is exactliy the same as all.png).
I think you have to delete everything scanned after completing a scan.
Best regards.
Hi there,
ive got the following Problem with the generation of .dot-files. If i setup my configuration as the following example:
And create a grunt-job like this:
Then ill have foo.png as a correct result (Just files of foo are in the graph), but bar.png has all files from foo and from bar in it (wich is exactliy the same as all.png).
I think you have to delete everything scanned after completing a scan.
Best regards.