#70 add different color options to relationship diagram

open
John Currier
None
5
2010-09-20
2010-09-17
rroemer
No

Would like to be able to control the color of some of the connecting lines on the relationships diagram. For example, would like the lines for the relationships that are currently derived from the database to remain the same, and the lines for the relationships that come from the foreign keys specified in the metadata file via the -meta parameter to be a different color. Could the xml format be enhanced so that the metadata can provide the color to be used for each relationship?

Discussion

  • John Currier
    John Currier
    2010-09-20

    • assigned_to: nobody --> johncurrier
     
  • John Currier
    John Currier
    2010-09-20

    It looks like it's possible to specify the color of the connecting lines to Graphviz.

    Would there be something like linkColor specified in the foreignKey entry?

    John

     
  • rroemer
    rroemer
    2010-10-07

    yes - that would be good
    ex:
    <table name="CHILD_TABLE">
    <column name="KEY1">
    <foreignKey table="PARENT_TABLE" column="ALT_KEY"
    <color=blue>
    </column>
    </table>
    or similar...