psycharo-zz / factor-graph

matlab/c++ factor graph framework
32 stars 8 forks source link

method Network.draw rather than fcn #45

Closed ghost closed 11 years ago

ghost commented 11 years ago

I think that it is cleaner if operations on the Network class are implemented as a method in the class rather than a 'loose' function in the package.

So, I would prefer to do this:

>> nwk = ffg.Network();
>> nwk.draw();

rather than

>> drawNetwork(nwk);

If you agree, please implement.

psycharo-zz commented 11 years ago

done