I'm interested in displaying the subclasses defined for my STI models.
For example I'd like to show a relationship that User -> Event but if the Event class is STI I want to display those types
For example maybe my Event entity display is slightly different and lists the descendant classes with something like
subgraph events {
cluster=true;
"Birthday";
"Holiday";
}
I haven't identified the dot syntax that I'd want yet but I'm also not sure how to work on creating a PR for this.
My impression is that I might need a special Attribute object that might apply to :type columns from ActiveRecord models.
I would love some direction on how to provide that as an option in this gem or (if that's not desirable) how to inject that feature so that I could make that happen for my needs.
I'm interested in displaying the subclasses defined for my STI models.
For example I'd like to show a relationship that User -> Event but if the Event class is STI I want to display those types
For example maybe my Event entity display is slightly different and lists the descendant classes with something like
I haven't identified the
dotsyntax that I'd want yet but I'm also not sure how to work on creating a PR for this.My impression is that I might need a special
Attributeobject that might apply to:typecolumns from ActiveRecord models.I would love some direction on how to provide that as an option in this gem or (if that's not desirable) how to inject that feature so that I could make that happen for my needs.