Skip to content

Commit

Permalink
Merge pull request #76 from kieler/mka/issue-73
Browse files Browse the repository at this point in the history
remove unused tooltip field
  • Loading branch information
Eddykasp authored May 16, 2022
2 parents ee437fe + 836c86f commit d3bef93
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/klighd-core/src/skgraph-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { Bounds, boundsFeature, moveFeature, Point, popupFeature, RectangularPor
* Represents the Sprotty version of its java counterpart in KLighD.
*/
export interface SKGraphElement extends KGraphElement {
tooltip?: string
properties: Record<string, unknown>
}

Expand All @@ -38,7 +37,6 @@ export const LABEL_TYPE = 'label'
* Represents the Sprotty version of its java counterpart in KLighD.
*/
export class SKNode extends KNode {
tooltip?: string
hasFeature(feature: symbol): boolean {
return feature === selectFeature
|| (feature === moveFeature && (this.parent as SKNode).properties && (this.parent as SKNode).properties['org.eclipse.elk.interactiveLayout'] as boolean)
Expand All @@ -52,7 +50,6 @@ export class SKNode extends KNode {
export class SKPort extends RectangularPort implements SKGraphElement {
trace?: string
data: KGraphData[]
tooltip?: string
areChildAreaChildrenRendered = false
areNonChildAreaChildrenRendered = false
hasFeature(feature: symbol): boolean {
Expand All @@ -67,7 +64,6 @@ export class SKPort extends RectangularPort implements SKGraphElement {
export class SKLabel extends SLabel implements SKGraphElement {
trace?: string
data: KGraphData[]
tooltip?: string
areChildAreaChildrenRendered = false
areNonChildAreaChildrenRendered = false
hasFeature(feature: symbol): boolean {
Expand All @@ -82,7 +78,6 @@ export class SKLabel extends SLabel implements SKGraphElement {
* Represents the Sprotty version of its java counterpart in KLighD.
*/
export class SKEdge extends KEdge {
tooltip?: string
hasFeature(feature: symbol): boolean {
return feature === selectFeature || feature === popupFeature
}
Expand Down

0 comments on commit d3bef93

Please sign in to comment.