Added RGraph library, refined canvas implementations