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

Recreate decision tree a mermaid diagram #11

Open
MathewBiddle opened this issue Sep 17, 2024 · 5 comments
Open

Recreate decision tree a mermaid diagram #11

MathewBiddle opened this issue Sep 17, 2024 · 5 comments

Comments

@MathewBiddle
Copy link
Contributor

DataArchiveDecisionTreeForGoogle-large.png

@MathewBiddle
Copy link
Contributor Author

First crack at it:

%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#007396',
      'primaryTextColor': '#fff',
      'primaryBorderColor': '#003087',
      'lineColor': '#003087',
      'secondaryColor': '#007396',
      'tertiaryColor': '#CCD1D1'
    },
   'flowchart': { 'curve': 'basis' }
  }
}%%


flowchart LR

A[IOOS RA Data]

B{What type of data?}

C[NDBC]
D[IOOS Glider DAC]
E[IOOS ATN DAC]

F[IOOS HF-Radar DAC]
G[OBIS-USA]
H[CDIP]

I{Will this be a recurring submission?}

J[Use **Send2NCEI**]
K[Use **ATRAC**]

A --> B
B -- Federal Buoy --> C
B -- Glider --> D
B -- Animal Telemetry --> E
B -- HF-Radar --> F
B -- Biological --> G
B -- Wave Buoy --> H
B -- Other --> I
I -- no -->J
I -- yes --> K

Loading

@MathewBiddle
Copy link
Contributor Author

%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#007396',
      'primaryTextColor': '#fff',
      'primaryBorderColor': '#003087',
      'lineColor': '#003087',
      'secondaryColor': '#007396',
      'tertiaryColor': '#CCD1D1'
    },
   'flowchart': { 'curve': 'basis' }
  }
}%%


flowchart TD

A[IOOS RA Data]

B{What type of data?}

C[NDBC]
D[IOOS Glider DAC]
E[IOOS ATN DAC]
L[OTN]

F[IOOS HF-Radar DAC]
H[CDIP]

I[Will this be a recurring submission?]

J[Use **Send2NCEI**]
K[Use **ATRAC**]

A --> B
B -- Federal Buoy --> C
B -- Glider --> D
B -- Satellite Telemetry --> E 
B -- Acoustic Telemetry --> L
B -- HF-Radar --> F
B -- Passive Acoustic Monitoring --> NCEI
%%B -- Biological --> G
B -- Wave Buoy --> H
B -- eDNA --> NCEI/OBIS/NCBI 
B -- Other --> I
I -- no -->J 
I -- yes --> K
J & K --> NCEI

Loading

Maybe try as a mindmap? https://mermaid.js.org/syntax/mindmap.html

@MathewBiddle
Copy link
Contributor Author

MathewBiddle commented Oct 31, 2024

Testing mindmap:

%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#007396',
      'primaryTextColor': '#fff',
      'primaryBorderColor': '#003087',
      'lineColor': '#003087',
      'secondaryColor': '#007396',
      'tertiaryColor': '#CCD1D1'
    },
   'flowchart': { 'curve': 'basis' }
  }
}%%


mindmap
    IOOS RA Data
        ))Federal Buoy((
            NDBC
                NCEI
                GTS
        ))Glider((
            IOOS Glider DAC
                NCEI
                GTS
        ))Satellite Telemetry((
            IOOS ATN DAC
                NCEI
                GTS
                OBIS
        ))Acoustic Telemetry((
            OTN
                OBIS
                NCEI
        ))HF-Radar((
            IOOS HF-Radar DAC
                NCEI
                GTS
        ))Wave Buoy((
            CDIP
                NCEI
                GTS
        ))eDNA((
            NCEI
            OBIS
            NCBI
        ))Passive Acoustic Monitoring((
            NCEI
            OBIS
Loading

@ocefpaf
Copy link
Member

ocefpaf commented Nov 11, 2024

Just an aside, for those using the dark mode on GH like me this color scheme is hard to read:

image

@MathewBiddle
Copy link
Contributor Author

Ahh - that's a bummer. I wanted to fiddle with the coloring but it looks like you need to do some fancy js or css to adjust the colors in a mindmap

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

2 participants