ioos / ncei-archiving-cookbook

http://ioos.github.io/ncei-archiving-cookbook/
3 stars 2 forks source link

Recreate decision tree a mermaid diagram #11

Open MathewBiddle opened 2 months ago

MathewBiddle commented 2 months ago

DataArchiveDecisionTreeForGoogle-large.png

MathewBiddle commented 2 months ago

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
MathewBiddle commented 2 weeks ago

%%{
  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

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

MathewBiddle commented 2 weeks ago

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
ocefpaf commented 5 days ago

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

image

MathewBiddle commented 4 days ago

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