Variable delegationNodeLook
delegationNodeLook: (
node: any,
known: any,
) =>
| {
dashed: boolean;
href: string;
identifier?: undefined;
label: string;
shape: string;
sublabel: string;
title: string;
}
| {
dashed: boolean;
href: string;
identifier: string;
label: any;
shape: string;
sublabel: string;
title: string;
} = ...
Type Declaration
-
- (
node: any,
known: any,
):
| {
dashed: boolean;
href: string;
identifier?: undefined;
label: string;
shape: string;
sublabel: string;
title: string;
}
| {
dashed: boolean;
href: string;
identifier: string;
label: any;
shape: string;
sublabel: string;
title: string;
}
-
Returns
| {
dashed: boolean;
href: string;
identifier?: undefined;
label: string;
shape: string;
sublabel: string;
title: string;
}
| {
dashed: boolean;
href: string;
identifier: string;
label: any;
shape: string;
sublabel: string;
title: string;
}
an object of shape, label, sublabel, identifier, title, href
and dashed; the service's own node has no identifier
Works out how the delegation picture draws one node.
The shape comes from whether the directory and the registry know the party, and the label is its cn or application name where there is one.