Skip to content

Add explicit node outline color to Container Images mermaid #12

@CBroz1

Description

@CBroz1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions