-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to resolve conflict and merge develop
- Loading branch information
Showing
17 changed files
with
344 additions
and
392 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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
export interface RectData { | ||
x: number; | ||
y: number; | ||
fill: string; | ||
width: number; | ||
height: number; | ||
stroke: string; | ||
class?: string; | ||
color?: string; | ||
rx?: number; | ||
ry?: number; | ||
attrs?: Record<string, string | number>; | ||
anchor?: string; | ||
} | ||
|
||
export interface Bound { | ||
startx: number; | ||
stopx: number; | ||
starty: number; | ||
stopy: number; | ||
fill: string; | ||
stroke: string; | ||
} | ||
|
||
export interface TextData { | ||
x: number; | ||
y: number; | ||
anchor: string; | ||
text: string; | ||
textMargin: number; | ||
class?: string; | ||
} | ||
|
||
export interface TextObject { | ||
x: number; | ||
y: number; | ||
width: number; | ||
height: number; | ||
fill?: string; | ||
anchor?: string; | ||
'text-anchor': string; | ||
style: string; | ||
textMargin: number; | ||
rx: number; | ||
ry: number; | ||
tspan: boolean; | ||
valign?: string; | ||
} | ||
|
||
export type D3RectElement = d3.Selection<SVGRectElement, unknown, Element | null, unknown>; | ||
|
||
export type D3UseElement = d3.Selection<SVGUseElement, unknown, Element | null, unknown>; | ||
|
||
export type D3ImageElement = d3.Selection<SVGImageElement, unknown, Element | null, unknown>; | ||
|
||
export type D3TextElement = d3.Selection<SVGTextElement, unknown, Element | null, unknown>; | ||
|
||
export type D3TSpanElement = d3.Selection<SVGTSpanElement, unknown, Element | null, unknown>; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.