Soo.... this actually turns out to be pretty neat:) From my model
below, adding
100: pageConfiguration = GraphVizPayment => visibleEntityNames = (
"Payment",
"PaymentType",
"PaymentChannel",
"PaymentChannelType"
)
yields:
Note that it automatically creates the missing nodes.
Sweet. One *could* make it so it uses the tools directly and return
the PDF. Right now it only creates the .dot file and you still have to
open it in the GV app.
Cheers, Anjo
Am 03.12.2009 um 11:41 schrieb Anjo Krank:
>
> Am 02.12.2009 um 18:14 schrieb Mike Schrag:
>
>> I whipped up a quick graffle generator: http://webobjects.mdimension.com/wolips/eomodelgraffle-latest.jar
>
> Nice work for the 2 hours, but it's worthless for anything > 5
> entities. There is a heuristic in the D2JS thingy which defines
> "entity groups", i.e. subsets of entities that "belong" together
> (possibly by removing lookup entities and ordering by number of
> inbound/outbound relationships) which *might* be of help to make
> this mess a bit cleaner.
>
> So this looks like:
>
> <pastedGraphic.png>
>
>
>
> The 0:58:33 GraphViz version looks like:
>
> <pastedGraphic.png>
>
>
> Which is at least a bit more readable (although it's still a mess).
> It's based on D2W, so you should be able to call it with
> ERD2WDirectAction as
>
> http://bla/cgi-bin/WebObjects/myapp.woa/wa/GraphVizSomeSetting
>
> and (halfway easily) configure the entities to show. DO NOT ASK ME
> HOW! Look at ERD2WGraphVizPage and adapt/extend/whatever it yourself.
>
> Cheers, Anjo
>
>
This archive was generated by hypermail 2.0.0 : Thu Dec 03 2009 - 05:56:26 EST