-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VT-23. Add functionality to expand nodes in the ontology
- Loading branch information
1 parent
5a9a61a
commit d2f9d6a
Showing
7 changed files
with
94 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
export interface INodeType { | ||
id: number; | ||
id: string; | ||
label: string; | ||
type: string; | ||
definition: string; | ||
iri: string; | ||
x?: number; | ||
y?: number; | ||
collapsed?: boolean; | ||
childNodes?: INodeType[]; | ||
childLinks?: ILinkType[]; | ||
} | ||
|
||
export interface ILinkType { | ||
source: number; | ||
target: number; | ||
source: string; | ||
target: string; | ||
type: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { ILinkType } from './GraphViewInterfaces'; | ||
import { ILinkType, INodeType } from './GraphViewInterfaces'; | ||
|
||
export interface ISelectedNodeType { | ||
label: string; | ||
type: string; | ||
definition: string; | ||
iri: string; | ||
childLinks?: ILinkType[], | ||
childNodes?: INodeType[]; | ||
childLinks?: ILinkType[]; | ||
collapsed?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export interface ITreeNode { | ||
id: number; | ||
id: string; | ||
label: string; | ||
type: string; | ||
children: ITreeNode[]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters