-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! ui-trackoccupancydiagram: add graduations layer
- Loading branch information
Showing
7 changed files
with
67 additions
and
55 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
storybook/stories/samples/TrackOccupancyDiagramSamples/tracks.ts
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,10 @@ | ||
const tracks = [ | ||
{ id: '1', name: '14', line: '123456' }, | ||
{ id: '2', name: '12', line: '123456' }, | ||
{ id: '3', name: '11', line: '123456' }, | ||
{ id: '4', name: '10', line: '123456' }, | ||
{ id: '5', name: '5', line: '123456' }, | ||
{ id: '6', name: '6', line: '123456' }, | ||
{ id: '1', name: 'EV', line: '123456' }, | ||
{ id: '2', name: '2', line: '456123' }, | ||
{ id: '3', name: '2bis', line: '135246' }, | ||
{ id: '4', name: 'Z', line: '654321' }, | ||
{ id: '5', name: '1bis', line: '615243' }, | ||
{ id: '6', name: '1', line: '523416' }, | ||
]; | ||
|
||
export default tracks; |
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
5 changes: 5 additions & 0 deletions
5
ui-trackoccupancydiagram/src/components/layers/OccupancyZonesLayer.tsx
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,5 @@ | ||
import React from 'react'; | ||
|
||
const OccupancyZonesLayer = () => <canvas id="occupancy-zones-layer" />; | ||
|
||
export default OccupancyZonesLayer; |
5 changes: 5 additions & 0 deletions
5
ui-trackoccupancydiagram/src/components/layers/TracksLayer.tsx
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,5 @@ | ||
import React from 'react'; | ||
|
||
const TracksLayer = () => <canvas id="tracks-layer" />; | ||
|
||
export default TracksLayer; |
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