Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Dec 03 2009 - 08:31:03 EST

  • Next message: Andrey Razumovsky: "Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler"

    Nice start!

    I wonder what we can do to scale it to large projects? E.g.:

       http://people.apache.org/~aadamchik/class.png

    Coincidentally the same issue was discussed on a WebObjects mailing
    list today. It is not yet archived, and if I don't forget, I'll
    forward the links once it is archived.

    Andrus

    On Dec 2, 2009, at 4:50 PM, Andrey Razumovsky (JIRA) wrote:

    >
    > [ https://issues.apache.org/jira/browse/CAY-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784856
    > #action_12784856 ]
    >
    > Andrey Razumovsky commented on CAY-762:
    > ---------------------------------------
    >
    > First version is committed on 3.1 trunk and I welcome everyone to
    > try it.
    > JGraph 5.13.0.0 is used as graph implementation.
    >
    > There are two types of diagrams - ER (for DbEntities) and Class (for
    > ObjEntities). They are avaliable through "Graph" tab of DataDomain
    > information panel.
    >
    > What IS done:
    > * drawing of entities with attributes and relationships between
    > them, showing arity of rels, inheritance
    > * quick showing entities in left-hand tree (using right-click
    > context menu), as well as some basic operation shortcuts
    > * lazy loading of graphs - they are not created until requested
    > * layout of firstly opened graph with entities (played a bit with
    > jgraph layouts, still not sure this is the best one). Note that
    > opening a large project may result in a complex web of entities
    > * saving graphs info as <domain_name>.graph.xml (and restoring).
    > Note that this file will not be used in classic Cayenne runtime
    > * synchronizing in both sides with left-hand tree
    > * scaling
    > * saving models as images
    > * undo support
    >
    > What IS NOT done:
    > * editing objects (e.g. entity names, attrs) in graph
    > * finding object on the graph from its info panel
    > * grouping by datamaps (in fact, I've found that standard JGraph
    > grouping doesn't look well on my models).
    >
    > Please post your comments
    >
    >> ERDiagram for Object Entities in Cayenne Modeler
    >> ------------------------------------------------
    >>
    >> Key: CAY-762
    >> URL: https://issues.apache.org/jira/browse/CAY-762
    >> Project: Cayenne
    >> Issue Type: New Feature
    >> Components: CayenneModeler GUI
    >> Affects Versions: 3.0
    >> Reporter: Ahmed Mohombe
    >> Assignee: Andrey Razumovsky
    >> Fix For: 3.1M1
    >>
    >>
    >> Please add an ER Diagram to the Cayenne Modeler. This is the
    >> feature that I miss the most from WebObjects.
    >> For start it would be even enough to have an ER Diagram View (so
    >> no interactive activities) - just display and layout of entities.
    >> I think this would help allot and would increase the productivity
    >> with CM - most people think visually.
    >> I don't think that it would be complicated to implement, the most
    >> complicated question to answer is what graph library is allowed to
    >> use, due to the restrictive "license compatibility" of the Apache
    >> license.
    >> Thanks in advance,
    >> Ahmed.
    >
    > --
    > This message is automatically generated by JIRA.
    > -
    > You can reply to this email to add a comment to the issue online.
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Dec 03 2009 - 08:31:33 EST