@nx-component/hierarchy-graph
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -7,3 +7,3 @@ import { graphlib } from 'dagre'; | ||
inputs: NodeInputDef[]; | ||
name: string; | ||
name: any; | ||
cardinality: number; | ||
@@ -14,3 +14,3 @@ include: InclusionType; | ||
type: NodeType; | ||
path: string[]; | ||
path: any[]; | ||
width?: number; | ||
@@ -54,3 +54,3 @@ height?: number; | ||
getRootOp(): Node; | ||
leaves(): string[]; | ||
leaves(): any[]; | ||
} | ||
@@ -57,0 +57,0 @@ export declare class MetaedgeImpl implements Metaedge { |
@@ -23,3 +23,3 @@ import { BaseNode, SlimGraph } from './graph'; | ||
node(name: string): GroupNode | BaseNode; | ||
setNode(name: string, node: GroupNode | BaseNode): void; | ||
setNode(name: any, node: GroupNode | BaseNode): void; | ||
getBridgegraph(nodeName: string): graphlib.Graph<GroupNode | BaseNode, Metaedge> | null; | ||
@@ -26,0 +26,0 @@ getChildName(nodeName: string, descendantName: string): string; |
@@ -32,5 +32,5 @@ import { BaseNode } from './graph'; | ||
export interface NodeDef { | ||
name: string; | ||
name: any; | ||
inputs: NodeInputDef[]; | ||
path: string[]; | ||
path: any[]; | ||
attr?: AttrDef; | ||
@@ -41,3 +41,3 @@ width?: number; | ||
export interface NodeInputDef { | ||
name: string; | ||
name: any; | ||
attr?: AttrDef; | ||
@@ -49,4 +49,4 @@ } | ||
export interface BaseEdge { | ||
w: string; | ||
v: string; | ||
w: any; | ||
v: any; | ||
name?: string; | ||
@@ -61,4 +61,4 @@ } | ||
export interface Node { | ||
name: string; | ||
path?: string[]; | ||
name: any; | ||
path?: any[]; | ||
type: NodeType; | ||
@@ -87,3 +87,3 @@ isGroupNode: boolean; | ||
getRootOp(): Node; | ||
leaves(): string[]; | ||
leaves(): any[]; | ||
} | ||
@@ -90,0 +90,0 @@ export interface Metaedge extends graphlib.EdgeObject { |
@@ -50,3 +50,3 @@ import { Hierarchy } from './hierarchy'; | ||
isFadedOut: boolean; | ||
displayName: string; | ||
displayName: any; | ||
constructor(node: T); | ||
@@ -53,0 +53,0 @@ isInCore(): boolean; |
@@ -12,3 +12,3 @@ export declare enum HierarchyNodeType { | ||
export interface HierarchyGraphNodeDef { | ||
id: string; | ||
id: any; | ||
width?: number; | ||
@@ -19,4 +19,4 @@ height?: number; | ||
export interface HierarchyGraphEdgeDef { | ||
v: string; | ||
w: string; | ||
v: any; | ||
w: any; | ||
weight?: number; | ||
@@ -26,3 +26,3 @@ [key: string]: any; | ||
export interface HierarchyGraphCompoundDef { | ||
[parent: string]: string[]; | ||
[parent: string]: any[]; | ||
} | ||
@@ -29,0 +29,0 @@ export interface HierarchyGraphDef { |
{ | ||
"name": "@nx-component/hierarchy-graph", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# Hierarchy Graph | ||
English | [简体中文](README-zh_CN.md) | ||
English | [简体中文](hierarchy-graph/README-zh_CN.md) | ||
@@ -5,0 +5,0 @@ ## 🖥 Environment Support |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
189885