Function useLinkInserting
- useLinkInserting(elements?, reactElements?, focus, cyRef, ehRef): {
drawendInserting: ((position, from, to) => void);
drawendUpdating: ((position, from, to) => void);
insertLink: ((type_id, from, to, position) => Promise<void>);
insertingCyto: IInsertingCytoStore;
insertingCytoRef: MutableRefObject<IInsertingCytoStore>;
openInsertCard: ((insertedLink) => void);
openSearchCard: ((searchLink) => void);
startInsertingOfType: ((id, From, To) => void);
startUpdatingLink: ((id) => void);
}
-
Parameters
-
elements: any[] = []
-
reactElements: any[] = []
-
focus: any
-
cyRef: any
-
ehRef: any
Returns {
drawendInserting: ((position, from, to) => void);
drawendUpdating: ((position, from, to) => void);
insertLink: ((type_id, from, to, position) => Promise<void>);
insertingCyto: IInsertingCytoStore;
insertingCytoRef: MutableRefObject<IInsertingCytoStore>;
openInsertCard: ((insertedLink) => void);
openSearchCard: ((searchLink) => void);
startInsertingOfType: ((id, From, To) => void);
startUpdatingLink: ((id) => void);
}
-
drawendInserting: ((position, from, to) => void)
-
- (position, from, to): void
-
Parameters
-
position: any
-
from: any
-
to: any
Returns void
-
drawendUpdating: ((position, from, to) => void)
-
- (position, from, to): void
-
Parameters
-
position: any
-
from: any
-
to: any
Returns void
-
insertLink: ((type_id, from, to, position) => Promise<void>)
-
- (type_id, from, to, position): Promise<void>
-
Parameters
-
type_id: any
-
from: any
-
to: any
-
position: any
Returns Promise<void>
-
-
-
openInsertCard: ((insertedLink) => void)
-
- (insertedLink): void
-
Returns void
-
openSearchCard: ((searchLink) => void)
-
- (searchLink): void
-
Returns void
-
startInsertingOfType: ((id, From, To) => void)
-
- (id, From, To): void
-
Parameters
-
id: number
-
From: number
-
To: number
Returns void
-
startUpdatingLink: ((id) => void)