Remove obsolete `OriginCmd*` constants
Fix coding style
Removed library units constants from graph.go
Add support for graph units