Encoder exports graph.R inertia,diameter. Untested