Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alg
Knowledge Space WP Plugin
Commits
bba73ee5
"src/display/renderer.tsx" did not exist on "1ed6e43da4b38898031b7c63eb0fdd1909c685e5"
Commit
bba73ee5
authored
2 years ago
by
Maximilian Giller
Browse files
Options
Downloads
Patches
Plain Diff
Formatted code
parent
fe91ef70
No related branches found
No related tags found
1 merge request
!2
Implemented editor in the react framework
Pipeline
#56430
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/editor/js/structures/graph/graphelement.ts
+8
-6
8 additions, 6 deletions
src/editor/js/structures/graph/graphelement.ts
with
8 additions
and
6 deletions
src/editor/js/structures/graph/graphelement.ts
+
8
−
6
View file @
bba73ee5
import
{
Graph
}
from
"
./graph
"
;
import
{
Graph
}
from
"
./graph
"
;
import
{
SerializableItem
}
from
"
../helper/serializableitem
"
;
import
{
SerializableItem
}
from
"
../helper/serializableitem
"
;
export
class
GraphElement
extends
SerializableItem
{
export
class
GraphElement
extends
SerializableItem
{
protected
isNode
:
boolean
;
protected
isNode
:
boolean
;
...
@@ -27,7 +27,7 @@ export class GraphElement extends SerializableItem {
...
@@ -27,7 +27,7 @@ export class GraphElement extends SerializableItem {
* @returns True, if successful.
* @returns True, if successful.
*/
*/
public
delete
():
boolean
{
public
delete
():
boolean
{
throw
new
Error
(
"
Function
\
"
delete()
\
"
has not been implemented.
"
);
throw
new
Error
(
'
Function "delete()" has not been implemented.
'
);
}
}
/**
/**
...
@@ -36,7 +36,7 @@ export class GraphElement extends SerializableItem {
...
@@ -36,7 +36,7 @@ export class GraphElement extends SerializableItem {
* @returns True, if successful.
* @returns True, if successful.
*/
*/
public
add
(
graph
:
Graph
=
this
.
graph
):
boolean
{
public
add
(
graph
:
Graph
=
this
.
graph
):
boolean
{
throw
new
Error
(
"
Function
\
"
add(graph)
\
"
has not been implemented.
"
);
throw
new
Error
(
'
Function "add(graph)" has not been implemented.
'
);
}
}
/**
/**
...
@@ -44,6 +44,8 @@ export class GraphElement extends SerializableItem {
...
@@ -44,6 +44,8 @@ export class GraphElement extends SerializableItem {
* @returns Filtered object.
* @returns Filtered object.
*/
*/
public
getCleanInstance
():
any
{
public
getCleanInstance
():
any
{
throw
new
Error
(
"
Function
\"
getCleanInstance()
\"
has not been implemented.
"
);
throw
new
Error
(
'
Function "getCleanInstance()" has not been implemented.
'
);
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment