typealias GFactoryCallback<R> = Graph.(R) -> Unit
Factory callback function signature with Graph as receiver. Used for onPostConstruct and onClose callbacks.