Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shape:[class | sql_table] the outer line should be overwritten at the end. #2134

Open
bo-ku-ra opened this issue Oct 2, 2024 · 0 comments
Open

Comments

@bo-ku-ra
Copy link
Contributor

bo-ku-ra commented Oct 2, 2024

https://play.d2lang.com/?script=ZJBRS8MwEIDfC_0PR4egzIqPcnsTfPPVJyfj2l7buDPpkotYxv67JJvoXEKSS_i-uyStUAgcEPZlAfD4_PKEsA86C9_1zmrdOnEeQcwwalBmaSTyCo5EUO-2jFB56gxJPaSVrV4v-txu_3k31Y_ZGxGESoxl8r8eJAoe7q8uzUNZHMoi9dENnAbmK4eRJkbI71ilgxxhzlQWywzCcoqNmLYs6j4OhFBP3nySclmsF5OZHcJ6MXmn3Cp3p0KJPNJ_64SdbJQa4YtSAMYqD-wxBbBvnQ3qyVhFeJ28-SA_b7Y8ryBas4v8dkiO8pcitCP5M6F3ns1gE5-x9-As5rk5z3zMlRmhoJs4daTcYd6l8IyurFPgXSQ5_ed3AAAA__8%3D&

classes: {
  BLUE: {style.font-color: lightsteelblue; style.stroke: "radial-gradient(#ffffff, lightsteelblue)"; style.fill: "linear-gradient( blue 80%, lightsteelblue)"}
}


hogehoge:{
  shape: class;
  class: blue
+hoge: +public
-fuga: -private
\#piyo: \#protected
}

fugafuga: {
  shape: sql_table
  class: blue
  integer: int {constraint: [primary_key; unique]}
  text: char{constraint: foreign_key}
  json: jsonb {constraint: unique}
  last_updated: lastdate{constraint: "not equal"}
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant