diagram_core/src/design/catalog.rs#
Source: lib/diagram_core/src/design/catalog.rs
catalog -- JFDiagrammer's own designs (V3, TH-03): NetLab first
All values are JFLib's own, from the NetLab style (styles/netlab: palette.rs, lib.rs): ink
anthracite #1D2228 and slate #4D5560, window grey #ECEEF1, the accent Signalblau #1F5FA8 and
the chart series ochre #C9792B, teal #3D8C84, brick #B0453F, violet #7A5C99, olive #7F8C3A;
the typeface Inter. Lines are thin and square-ended, effects rare.
NetLab the house look: light tinted fills, 1 pt lines in the colour, anthracite text,
slate connectors with a slim filled arrow. Variants: Signalblau, Petrol, Signalblau
solid (white text), Graphit.
Contour black on white, for print and technical drawings: white fills, 1.25 pt outlines,
open arrows, no effects. Variants: Anthracite, Signalblau, Brick, Rounded.
Contrast bold surfaces: solid fills without outline, white bold text, strong dark
connectors with a wide arrow. Variants: Signalblau, Petrol, Brick, Anthracite rounded.
How Visio reads the lists (the user's Visio, 2026-11-19): the six styles of each list go from
subtle (1) to intense (6), as the matrix of Visio's quick styles shows them; the variants'
styles use numbers 1 .. 5 only -- Visio's own designs never name 6 there, and Visio drew a
variant style that named 6 as style 1. Fill and line colours are the placeholder (the
shape's colour) with transforms, also the neutral ones (white, light grey, dark: the colour's
luminance set, its saturation lowered), as in Visio's own designs.
Conventions every own design keeps, so the style sheets of a new document fit all of them:
font style 1 is dark text for light ground (the style "Text Only" uses it), connector line
style 1 is the connector with its arrow, and the variants' quick style 4 is the quiet one
for containers and backgrounds.
/// the typeface of the NetLab style
FONT: &str = "Inter"
/// the scheme number of NetLab
NETLAB: u32 = FIRST_ID
/// the scheme number of Contour
CONTOUR: u32 = FIRST_ID + 1
/// the scheme number of Contrast
CONTRAST: u32 = FIRST_ID + 2
fn netlab() -> DesignNetLab: the house lookfn contour() -> DesignContour: black on white, for printfn contrast() -> DesignContrast: bold surfacesfn all() -> Vec<Design>all own designs, NetLab firstfn by_id(id: u32) -> Option<Design>the own design with this scheme number