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

Add explicit node outline color to Container Images mermaid #12

Open
CBroz1 opened this issue Oct 21, 2022 · 0 comments
Open

Add explicit node outline color to Container Images mermaid #12

CBroz1 opened this issue Oct 21, 2022 · 0 comments

Comments

@CBroz1
Copy link
Contributor

CBroz1 commented Oct 21, 2022

Edit needed here

Example - color scheme in last 2 lines below. Works with both dark and light modes of current styling

flowchart LR
  py_interp  -->|DataJoint| db_server[("Database Server\n(e.g., MySQL)")]
  subgraph conda["Conda environment"]
    direction TB
    py_interp[Python Interpreter]
  end
  subgraph empty1[" "] %% Empty subgraphs prevent overlapping titles
    direction TB
    style empty1 fill:none, stroke-dasharray: 0 1
    conda
  end
  subgraph term["Terminal or Jupyter Notebook"]
    direction TB
    empty1
  end
  subgraph empty2[" "] %% Empty subgraphs prevent overlapping titles
    direction TB
    style empty2 fill:none, stroke-dasharray: 0 1
    term
  end
  subgraph ide["Integrated Development Environment"]
    direction TB
    empty2
  end
  class py_interp,conda,term,ide,db_server,DataJoint boxes;
  classDef boxes fill:#ddd, stroke:#333;
Loading
flowchart LR
  py_interp  -->|DataJoint| db_server[("Database Server\n(e.g., MySQL)")]
  subgraph conda["Conda environment"]
    direction TB
    py_interp[Python Interpreter]
  end
  subgraph empty1[" "] %% Empty subgraphs prevent overlapping titles
    direction TB
    style empty1 fill:none, stroke-dasharray: 0 1
    conda
  end
  subgraph term["Terminal or Jupyter Notebook"]
    direction TB
    empty1
  end
  subgraph empty2[" "] %% Empty subgraphs prevent overlapping titles
    direction TB
    style empty2 fill:none, stroke-dasharray: 0 1
    term
  end
  subgraph ide["Integrated Development Environment"]
    direction TB
    empty2
  end
  class py_interp,conda,term,ide,db_server,DataJoint boxes; % add all items to boxes class
  classDef boxes fill:#ddd, stroke:#333; % define fill/stroke of boxes class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant